CSS - CSS Measurement Units - CSS Relative Measurement Units
- Relative length units determine a length with respect to another length property. The relative units are:
Percentage (%):
- Characterizes an estimation as a percentage in respect to another value, regularly an insert component.
Example:
em:
- A relative estimation for the height of a font style in em spaces. Since an em unit is equal to the size of a given font style.(2em means 2 times the size of the current font)
Example:
ex:
- A relative estimation for the height of a font style in em spaces.
Example:
vh:
- With respect to 1% of the height of the viewport.
Example:
vw:
- With respect to 1% of the width of the viewport.
Example:
vmin:
- In respect to 1% of viewport's smaller measurement.
Example:
vmax:
- In respect to 1% of viewport's lager measurement.
Example:
This page provides a detailed information on css menu tutorial , css for website , css programming language , css resources , css3 code , style sheets css , homepage css , html css test , html css javascript online , online css , css cascading style sheets , css to html , edit css , css cascading , online css validator , css5 tutorial , css validator online , css tut , create css , css and javascript.