mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-04 13:08:41 +08:00
18 lines
403 B
Plaintext
18 lines
403 B
Plaintext
|
.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;
|
||
|
}
|
||
|
}
|