Blog We love to talk!

Nov Mon

Cross Browser Viewport units: vw, vh, vmin, vmax

  •  11-9-2015
cross browser testing

Viewport units: vw, vh, vmin, vmax is the length units representing 1% of the viewport size for viewport width (vw), height (vh), the smaller of the two (vmin), or the larger of the two (vmax).

Browser Support

This feature is already supported by a few major browsers including Chrome, Firefox, Safari and Opera.

Code Example

You can use Viewport units: vw, vh, vmin, vmax like this:

h1 { font-size: 8vw }

More Information

More information can be found here.

No Comments

Leave a Reply

Your email address will not be published.