0% found this document useful (0 votes)
24 views

Properties Css

CSS units include percentages, inches, centimeters, millimeters, ems, exes, points, picas, and pixels. An em is equal to the current font size, so 2em is twice the font size, and adapts to the reader's font. An ex is the x-height of a font, usually about half the font size.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views

Properties Css

CSS units include percentages, inches, centimeters, millimeters, ems, exes, points, picas, and pixels. An em is equal to the current font size, so 2em is twice the font size, and adapts to the reader's font. An ex is the x-height of a font, usually about half the font size.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 1

CSS Units

Measurement Values
Unit Description
% percentage
in inch
cm centimeter
mm millimeter
em 1em is equal to the current font size. 2em means 2 times the size
of the current font. E.g., if an element is displayed with a font of
12 pt, then '2em' is 24 pt. The 'em' is a very useful unit in CSS,
since it can adapt automatically to the font that the reader uses
ex one ex is the x-height of a font (x-height is usually about half the
font-size)
pt point (1 pt is the same as 1/72 inch)
pc pica (1 pc is the same as 12 points)
px pixels (a dot on the computer screen)

You might also like