利用css border画小三角

/*css*/
.d1{
	width: 0; 
        height: 0;
	border-width: 100px;
	border-style: solid;
	border-color:#FFCCCC transparent transparent transparent;
}

/*html*/
<div class="d1"></div>    

  

posted @ 2019-12-25 10:15  虚无——缥缈  阅读(208)  评论(0编辑  收藏  举报