在html中添加一个em标签
<em class="arrow">
<b></b>
<i></i>
</em>
设置样式
body{
position:relative;
}
.arrow b {
position: absolute;
right: 2px;
top: 1px;
height: 7px;
width: 7px;
background-color: #fff;
transform: rotate(45deg);
}
.arrow i {
position: absolute;
top: 0px;
right: 2px;
height: 7px;
width: 7px;
background-color: #383D42;
transform: rotate(45deg);
}
效果图