源码如下
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>3D Arc Effect</title>
<style>
.main {
width: 176px;
height: 60px;
box-sizing: border-box;
padding: 2px;
border-radius: 8px;
background-image: linear-gradient(to bottom right, rgba(0, 0, 0,1) 0 ,rgba(0, 0, 0, 0) 50% , rgba(0, 0, 0,1) 100%);
background-image: -webkit-linear-gradient(to bottom right, rgba(0, 0, 0,1) 0 ,rgba(0, 0, 0, 0) 50% , rgba(0, 0, 0,1) 100%);
}
.main_in {
width: 100%;
height: 100%;
border-radius: 8px;
background: #fff;
}
</style>
</head>
<body>
<div class="main">
<div class="main_in">Click Me</div>
</div>
</body>
</html>