Home  >  Article  >  Web Front-end  >  CSS anti-aliasing font-smoothing_html/css_WEB-ITnose

CSS anti-aliasing font-smoothing_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:42:531758browse

CSS3 has added a "-webkit-font-smoothing" attribute.

This attribute can make the fonts on the page anti-aliased. After using it, the fonts will look clearer and more comfortable.

After adding it, the page suddenly feels clearer. Taobao also uses it!

It has three attributes:

none                                                                                                                                                                                                                                                   🎜 >

antialiased                                                                                                                                                                                                                                                                                                -smoothing: antialiased;

}

Example of a foreign website

Attachment:

-moz-osx-font-smoothing: inherit | grayscale

This attribute also has a clearer effect, especially today when icon text is popular.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn