.bjs{
width: 375px;
height: 250px;
clip-path: ellipse(150% 100% at 50% 0%);
}
.bjs div{
width: 100%;
height: 100%;
background-image: url(user-bg.jpg);
background-repeat: no-repeat;
background-size: cover;
background-position: center;
}
<div class="bjs">
<div></div>
</div>
背景图片下边剪切成圆弧
最新推荐文章于 2023-09-11 10:09:47 发布