<style>
.triangle{
/*通过border挤出来。*/
width: 0px;
height: 0px;
border-top: 50px solid pink;/**/
border-left: 50px solid transparent;
border-right: 50px solid transparent;
}
</style>
<body>
<div class="triangle"></div>
</body>
``
Css实现三角
最新推荐文章于 2022-12-04 20:38:26 发布