Viewport-related units VW, VH, VM,CSS/CSS3 length, time, frequency, angle units Daquan

Source: Internet
Author: User

One, CSS length value

em< /td> relative to the parent element's font size
ex height relative to lowercase "x"
gd Generally used in East Asian typography, this is not related to English
rem relative to the root element font size
VW relative to the view Window width: Window width is 100vw
vh relative to the window height: 100vh
vm Relative To the width or height of the window, depending on which is smaller
ch relative to 0 dimensions
px relative to screen resolution instead of Windows Size: typically 1 dots or 1/72 inches
in inch, table inch
cm centimeter, Table cm
mm millimeter, table mm
pt 1/72 inch
pc 12-point movable, or 1/12-point
% relative to the parent element. Normally, you define itself or another element through a property

Second, time, frequency, angle

Deg degrees, Angle
Grad Grads, Hundred degrees
Rad radians, radians
Turn Turns, lap number
Ms Milliseconds, number of milliseconds
S seconds, number of seconds
Hz Hertz, Hertz
KHz kilohertz, khz

Viewport-related units VW, VH, VM,CSS/CSS3 length, time, frequency, angle units Daquan

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.