<分区>
我想像这样在 HTML/CSS 中创建一个元素
我目前正在使用这个类,但不起作用,因为在大屏幕上会变形
.half-negative-circle{
width:100%;
height:100%;
position:relative;
overflow:hidden;
z-index: 1 !important;
}
.half-negative-circle:before{
content:'';
position:absolute;
right:70%;
width:55%;
height:100%;
border-radius:100%;
box-shadow: 300px 200px 100px 300px #0b77dc ;
}
如果您能以最佳方式创建此类元素,我们将不胜感激。
提前致谢