一个div实现下边图形
html
<div class="bg3"> </div>
css
.bg3 {
width: 200px;
height: 80px;
border-radius: 30px 30px 0 0;
background: #00CAF5;
position: relative;
left: 50px;
}
.bg3::after{
content: '';
position: absolute;
left: -30px;
bottom: 0;
width: 30px;
height: 30px;
background: radial-gradient(circle at 0% 0%,transparent 30px,#00caf5 0)
}
.bg3::before{
content: '';
position: absolute;
right: -30px;
bottom: 0;
width: 30px;
height: 30px;
background: radial-gradient(circle at 100% 0%,transparent 30px,#00caf5 0)
}