Viewport units
Widely available
The vw
, vh
, vmin
, and vmax
CSS viewport units are relative to the size of the viewport, and are used to size elements in relation to the viewport's dimensions.
Compatibility (view on caniuse.com)
- Chrome 26 Released on 2013-03-26
- Chrome Android 26 Released on 2013-04-03
- Edge 16 Released on 2017-10-17
- Firefox 19 Released on 2013-02-19
- Firefox for Android 19 Released on 2013-02-19
- Safari 7 Released on 2013-10-22
- Safari on iOS 7 Released on 2013-09-18