css3 三角写法

这里就只写css了

 1 .sj{
 2     display: inline-block;
 3     width: 0;
 4     height: 0;
 5     border-width: 50px;
 6     border-color: #5ff transparent transparent transparent;
 7     border-style: solid;
 8     overflow: hidden;
 9     position: absolute;
10   }

 

posted @ 2015-05-20 15:13  雷林007  阅读(151)  评论(0编辑  收藏  举报