实现箭头
2017-06-07 本文已影响0人
石子1110
箭头一般会用特殊符号或者iconfont实现,之前学到一个用块标签来写的,不知实不实用,写记录下来
html代码如下:
<div class="arrow"></div>
css代码:
.arrow{
width: 20px;
height: 20px;
border-left: 2px solid #ccc;
border-bottom: 2px solid #ccc;
transform: rotate(-45deg);
}
效果:
