📝 代码查看
使用runcode.html页面

1
查看次数
2025-11-02
创建时间
2025-11-02
最后更新
<div class="content"></div>
html{
  height:100%;
}
body{
  height:100%;
  display:flex;
  margin:0;
}
.content {
  width: 300px;
  height: 150px;
  margin: auto;
  -webkit-mask: radial-gradient(circle at 0, transparent 20px, red 0), radial-gradient(circle at right, transparent 20px, blue 0);
  -webkit-mask-size: 50%;
  -webkit-mask-position: 0, 100%;
  -webkit-mask-repeat: no-repeat;
  background: linear-gradient(45deg, orange, red);
}
暂无JavaScript代码

👁️ 实时预览