mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-26 20:20:00 +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;
|
||
|
}
|
||
|
}
|