ant-design/style/mixins/iconfont.less

18 lines
403 B
Plaintext
Raw Normal View History

2015-07-01 14:48:47 +08:00
.iconfont-mixin() {
position: relative;
display: inline-block;
font-style: normal;
vertical-align: baseline;
text-align: center;
text-transform: none;
text-rendering: auto;
// 更好地渲染字体
-webkit-font-smoothing: antialiased;
-webkit-text-stroke-width: 0px;
-moz-osx-font-smoothing: grayscale;
&:before {
display: block;
font-family: "anticon" !important;
}
}