当前位置:网站首页>Draw a triangle

Draw a triangle

2020-12-07 16:57:32 Loeb

Draw a triangle

This is simple css Examine , At the same time of using component library , And don't forget the original css
 .box{
            width: 0;
            height: 0;
            border-width: 100px;
            border-style: solid;
            border-color: transparent #0099CC transparent transparent;
            transform: rotate(90deg); /* Clockwise rotation 90°*/
 }

<div class="box"></div>

版权声明
本文为[Loeb]所创,转载请带上原文链接,感谢
https://chowdera.com/2020/12/20201207165516493p.html