---
id: "viewport-units"
kind: "web-feature"
canonical: "https://timetostable.com/feature/viewport-units"
baseline: "high"
bcd_version: "8.1.11"
web_features_version: "3.48.0"
---

# Viewport units (`viewport-units`)

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.

- **Group**: Units
- **Baseline**: Widely Available
- **Newly Available Date**: 2017-10-17
- **Widely Available Date**: 2020-04-17
- **Specification**: https://drafts.csswg.org/css-values-4/#viewport-relative-lengths
- **Constituent BCD keys**: 4

## Browser Support Timeline

| Browser | Version | Release Date |
| --- | --- | --- |
| Firefox | 19 | 2013-02-19 |
| Firefox for Android | 19 | 2013-02-19 |
| Chrome | 26 | 2013-03-26 |
| Chrome Android | 26 | 2013-04-03 |
| Safari on iOS | 7 | 2013-09-18 |
| Safari | 7 | 2013-10-22 |
| Edge | 16 | 2017-10-17 |

