CSS Click Chart

Viewport-relative Units

Allows you to define lengths using percentage-based values relative to the width or height of the viewport (visible area of the page).

Specification

Viewport-percentage lengths on W3C

Example Code

Live Demonstration

For a live demonstration of viewport units in action, see this CodePen demo.

Browser Support

Can I Use viewport-units? Data on support for the viewport-units feature across the major browsers from caniuse.com.

Tools / Polyfills

Tutorials / Articles