字体平滑
* {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
支持
- Firefox 25+ on OSX
- Webkits (Chrome, Safari, etc)
Here’s a 4-line snippet on how to get beautiful, antialiased text with CSS.
* {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}