CSS anti-aliasing font-smoothing_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:42:53
Original
1756 people have browsed it

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.

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!