.triangle{ display: inline-block; border-right: 1px solid white; border-top: 1px solid white; height: 10px; width: 10px; transform: rotate(135deg); -webkit-transform: rotate(135deg); border-left: 1px solid transparent; border-bottom: 1px solid transparent; /*border: 10px solid transparent;*/ /*border-top-color: white;*/ /*width: 0px;*/ /*height: 0;*/ }
使用css制作箭头
猜你喜欢
转载自blog.csdn.net/ttn456456/article/details/79878620
今日推荐
周排行