📝 代码查看
2
查看次数
2025-10-31
创建时间
2025-10-31
最后更新
<div class="radial-gradient"></div>
.radial-gradient {
width: 200px; height: 100px;
background: red;
position: relative;
}
.radial-gradient:after {
content: '';
position: absolute;
height: 10px;
left:0 ; right: 0;
bottom: -10px;
background: radial-gradient(20px 15px ellipse at top, red 10px, transparent 11px);
background-size: 20px 10px;
}
暂无JavaScript代码