body样式
<body>
<section class="circle">
<span class="wave"></span>
</section>
</body>
css样式
<style>
*{
margin: 0;
padding: 0;
list-style: none;
}
html,body{
width: 100%;
height: 100%;
}
body{
display: grid;
justify-content: center;
align-content: center;
background-color: #fff;
}
.circle{
width: 150px;
height: 150px;
border: 5px solid #fff;
box-shadow: 0 0 0 5px #4973ff;
border-radius: 50%;
}
.circle .wave{
display: block;
width: 100%;
height: 100%;
background-color: #4976ff;
border-radius: 50%;
box-shadow: inset 0 0 50px rgba(0,0,0,0.5);