Skip to main content

CSS Unit

Absolute Lengths

The absolute length units are fixed and a length expressed in any of these will appear as exactly that size.

image.png

Relative Lengths

Relative length units specify a length relative to another length property. Relative length units scale better between different rendering medium. (recommend to use manage the layout for responsive design)

 

image.png