处理之前的效果
处理之后的效果
具体实现
实现方法很简单,给图标额外再加一个 position:relative; top:1px; 就可以啦!
.add_icon {
position:relative;
top:1px;
display: inline-block;
width: 12px;
height: 12px;
background-image: url('../../../assets/images/report_reduce_icon.png');
background-size: 100%;
background-repeat: no-repeat;
background-position-y: bottom;
}