CSS Text style

Source: Internet
Author: User

Font-family: Usually the body of the article uses a serif font that is easy to read, and the user does not easily fatigue for a long time. The headlines and tables are made with a more prominent Sans-serif font. This principle is also recommended in web design and browser settings.

Font-size: The unit px represents detailed pixels, so its display size is related to the size of the display and its resolution. The use of "%" or "em" is proportional to the parent tag, assuming that the parent tag's font size is not set, relative to the browser's default value.

There are times when you want text not only underlined, but also underlined or strikethrough at the same time, you can assign the values of underline and overline to text-decoration at the same time and separate them with spaces.


CSS Text style

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.