直接上代码
#arrow{
width: 10px;
height: 10px;
border-top: 5px solid #BFDDB7;
border-right: 5px solid #BFDDB7;
-webkit-transform: rotate(45deg);
}
原理很简单:旋转45度(上边框+右边框)
直接上代码
#arrow{
width: 10px;
height: 10px;
border-top: 5px solid #BFDDB7;
border-right: 5px solid #BFDDB7;
-webkit-transform: rotate(45deg);
}
原理很简单:旋转45度(上边框+右边框)