最佳答案
我想和你的照片一样
body{
background:black;
}
.outer{
margin:40px auto;
width:1200px;
height:100px;
background:#37FFF7;
}
.inner {
margin: 0 auto;
border-bottom: 30px solid white;
border-left: 70px solid transparent;
border-right: 70px solid transparent;
height: 0;
width: 700px;
position: relative;
top:70px;
}
<div class="outer">
<div class="inner"></div>
</div>
关于html - 自定义多边形形状,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42593271/