div{
width: 32px;
height: 32px;
background: black;
margin: 20px auto;
border-radius: 50%;
position:relative;
}
div:before{
content: "";
position: absolute;
left: 50%;
top: 6px;
margin-left: -2px;
background: hsl(0, 0%, 100%);
border-radius: 50%;
width: 4px;
height: 4px;
box-shadow: 0px 8px white, 0px 16px white;
}
<div></div>
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句