Skip to content

Viewport units: vw, vh, vmin, vmax

Updated: at 12:02 AM

New CSS viewport units allow setting vertical height much simpler than using percentages

The viewport units are a new set of units designed for the challenges we face today. One-pagers, full-width grids, typography, and many other things rely on the size of the viewport. Previously, we hacked these challenges using percentages as mentioned earlier, or JavaScript.

Read more from the source: Web Design Weekly