# Description

The vm unit is relative to the viewport's height or width, whichever of the two is smaller. The minimum of the viewport's width/height is equivalent to 100 'vm' units.

The format of this length value is a number followed by ‘vm’.

# Examples

This example defines a header with a font size proportional to the height or width of the viewport:

    h1 { font-size: 8vm }

# Browser Support

Firefox | IE | Chrome | Opera | Safari

# Miscellaneous Information

Defined In: | CSS3