What is a Viewport Width (vw)?
vw (viewport width) is a CSS unit equal to 1% of the viewport's width. On a 1920px wide screen, 1vw equals 19.2px.
Definition
Symbol
vw
Category
CSS Units
System
CSS
1 {unit} = {value} {otherUnit}
1 Viewport Width = 19.2 Pixel (px)
1 Viewport Width = 1.2 Rem (rem)
1 Viewport Width = 1.2 Em (em)
1 Viewport Width = 14.4 Point (pt)
1 Viewport Width = 1.2 Pica (pc)
Common Uses
- Responsive typography
- Full-width layouts
- Fluid sizing