CSS authoritative Guide (third Edition)---Fourth chapter values and units

Source: Internet
Author: User

This chapter focuses on the values of some property declarations:

The values in CSS are mainly numbers, percentages, colors,

1. Color:

RGB (100%,100%,100%) or RGB (255,255,255) or #FF0000

Web security color: refers to a value that is a multiple of 20%,51,0x33.

2. Length unit: unit with in cm mm PT pc

Where: 1in = 2.54cm 1cm = 0.394in 1in = 72pt 1pc = 12pt

Relative length unit: em,ex,px

3.URL

4. Keyword: none inherit

In addition, there are some values that are used on other devices.

Includes: Angle value, time value, frequency value, etc.

Summary: In terms of units, basically completely correct, but there are also a small number of bugs and strange problems.

CSS authoritative Guide (third Edition)---Fourth chapter values and units

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.