gpt4 book ai didi

css - 如何创建一个透明圆圈?

转载 作者:技术小花猫 更新时间:2023-10-29 11:09:51 27 4
gpt4 key购买 nike

<分区>

有没有办法在 CSS 中实现这种效果?

enter image description here

我尝试使用这个 css,但它只剪切了第一层。

div{
width:300px;
height:300px;
position:relative;
overflow:hidden;
}
div:before{
content:'';
position:absolute;
bottom:50%;
width:100%;
height:100%;
border-radius:100%;
box-shadow: 0px 300px 0px 300px #448CCB;
}

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com