.trapezoid {
width: 14%; //宽度
height: 0;
border-bottom: 40rpx solid #fff;
margin-left: 36%;
//核心代码,左右边界往里塌
border-left: 50rpx solid transparent;
border-right: 50rpx solid transparent;
font-size: 25rpx;
}
css梯形
最新推荐文章于 2024-07-16 17:18:30 发布