//css
.a{
width: 0;
height: 0;
border-width: 100px;
border-style: solid;
border-color: transparent #0099CC transparent transparent;
transform: rotate(90deg); /*顺时针旋转90° */
}
// html
<div class="a"></div>
三角形的实现
最新推荐文章于 2023-04-11 10:00:22 发布