Computer >> Hướng Dẫn Máy Tính >  >> Lập Trình >> JavaScript

Cách render font mỏng mượt hơn trong CSS3 với HTML


Để render font mỏng mượt hơn, dùng −

text-rendering: optimizeLegibility !important; -webkit-font-smoothing: antialiased !important; -moz-osx-font-smoothing: grayscale !important;

Cho Google Chrome, dùng −

-webkit-font-smoothing:antialiased !important;

Bạn có thể tăng hiệu năng như sau −

text-rendering: auto text-rendering: optimizeSpeed text-rendering: optimizeLegibility text-rendering: geometricPrecision text-rendering: inherit