如何使用HTML在CSS3中更平滑地呈现细字体?
要更平滑地呈现细字体,请使用-
text-rendering: optimizeLegibility !important; -webkit-font-smoothing: antialiased !important; -moz-osx-font-smoothing: grayscale !important;
对于谷歌浏览器,请使用-
-webkit-font-smoothing:antialiased !important;
您可以像这样增强性能-
text-rendering: auto text-rendering: optimizeSpeed text-rendering: optimizeLegibility text-rendering: geometricPrecision text-rendering: inherit