我有一个图标,我想更改图标形状内的背景颜色:
<i class="icon-sm icon-number-one"></i>
这是css:
.icon-sm {
position: relative;
font-family: 'icons';
speak: none;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
vertical-align: middle;
color: #949494 !important;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.icon-number-one:before {
content: "\e600";
}
图标看起来像一个带有数字的圆圈。基于此,如何更改圆的背景颜色?