css写出> <
2018-08-29 本文已影响0人
陌紫嫣
1.>
.more:after {
border-color: #666;
position: absolute;
right: ;(具体位置具体定)
top: ;(具体位置具体定)
display: block;
content: '';
width: .6em;
height: .6em;
border-left: .04rem solid #06c1ae;
border-bottom: .04rem solid #06c1ae;
transform: translateY(-50%) scaleY(.7) rotateZ(-135deg);
-webkit-transform: translateY(-50%) scaleY(.7) rotateZ(-135deg);
-moz-transform: translateY(-50%) scaleY(.7) rotateZ(-135deg);
-ms-transform: translateY(-50%) scaleY(.7) rotateZ(-135deg);
}
2.<
.more:after {
border-color: #666;
position: absolute;
right: ;(具体位置具体定)
top: ;(具体位置具体定)
display: block;
content: '';
width: .6em;
height: .6em;
border-right: .04rem solid #06c1ae; (和上面相比就改了这)
border-top: .04rem solid #06c1ae;(和上面相比就改了这)
transform: translateY(-50%) scaleY(.7) rotateZ(-135deg);
-webkit-transform: translateY(-50%) scaleY(.7) rotateZ(-135deg);
-moz-transform: translateY(-50%) scaleY(.7) rotateZ(-135deg);
-ms-transform: translateY(-50%) scaleY(.7) rotateZ(-135deg);
}