CSS Absolute Length Units
Last Updated Jul 21, 2015, 12:00:06 PM
CSS Absolute Length Units
Absolute length units are fixed in relation to each other. They represent a physical measurement. Absolute length units are more useful when we know the physical properties of the output medium.
If you are working with the screens, then absolute length units not recommended, because screen sizes vary at some point of the time. However, they can be used if the output medium is known
Absolute Length UnitsUnit | Description | Video | Example |
---|---|---|---|
cm | centimeters | Watch GIF | Try It |
mm | millilmeters | Watch GIF | Try It |
in | inches note: 1 in = 96px = 2.4cm |
Watch GIF | Try It |
px * | pixels note:( 1px = 1/96th of in) |
Watch GIF | Try It |
pt | points note:( 1pt = 1/72 of 1 in) |
Watch GIF | Try It |
pc | picas note:( 1pc = 12 pt |
Try It |
Other Advanced CSS Units you might want to learn
CSS Relative UnitsCSS Units
Sources and Credits
The source of the content has been referred and updated with Mozilla Foundation and W3C Organization
Last Updated Jul 21, 2015, 12:00:06 PM