先看效果:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<style>
.main{
width: 500px;
height: 500px;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
margin: auto;
}
.box{
width: 500px;
height: 500px;
background: #000;
border-radius: 45% 55% 45% 55%/ 55% 50% 50% 45%;
box-shadow: inset -10px 5px 35px 10px rgba(255,255,255,0.3);
overflow: hidden;
position: relative;
}
.box:before{
content: '';
w