Answer
Viewport units are lengths based on viewport dimensions. • vw and vh use viewport width and height. • Modern CSS also defines small, large, and dynamic viewport variants. • Viewport units should be combined with sensible limits for readable content.
💡 Simple Example
.hero { min-height: 100dvh; }
⚡ Quick Revision
Viewport units size values relative to viewport dimensions.