css伪类设置小标签
效果如下:
css:
.hightlight {
color: #BE800A!important;
border: 1px solid #BE800A!important;
border-radius: .14rem!important;
position: relative;
}
.hightlight::after {
width: .4rem;
height: .4rem;
content: "";
background: url(../img/xzje@3x.png) no-repeat;
background-repeat: no-repeat;
background-size: 100% 100%;
font-size: .2rem;
position: absolute;
left: -1px;
top: -1px;
}