繁体   English   中英

如何使用 CSS 绘制以下线条

[英]How can I draw the following lines using CSS

如何绘制以下背景图像?

使用 CSS 的线条

圆锥梯度,掩码和伪元素

 html:before, html:after { content: ""; position: fixed; aspect-ratio: 1; width: 130%; left: -40%; bottom: 20%; border-radius: 50%; border: 20px solid green; -webkit-mask: conic-gradient(#000, #0000 65%); } html:after { transform: translate(15%); }

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM