Home > Web Front-end > JS Tutorial > body text

Detailed explanation of webkit-font-smoothing font anti-aliasing rendering use cases

php中世界最好的语言
Release: 2018-05-25 11:55:56
Original
1992 people have browsed it

This time I will bring you a detailed explanation of the use case of webkit-font-smoothing font anti-aliasing rendering. What are the precautions when using webkit-font-smoothing font anti-aliasing rendering? The following is a practical case, let’s take a look.

Webkit supports this effect in its own engine

-webkit-font-smoothing It has three attributes values:

  • none: Better for low-pixel text

  • subpixel-antialiased: Default value

  • antialiased: Antialiasing is good

How to use

body{
   -webkit-font-smoothing: antialiased;
}
Copy after login

I believe you have mastered the method after reading the case in this article. For more exciting information, please pay attention to the php Chinese websiteOther related articles!

Recommended reading:

Summary of using JS methods in HTML

##Summary of page rendering optimization methods in the front end

The above is the detailed content of Detailed explanation of webkit-font-smoothing font anti-aliasing rendering use cases. For more information, please follow other related articles on the PHP Chinese website!

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!