vh and vw

The vh and vw units are based on the user's viewport height and width. Let's take a look at these units.

Responsive design largely depends on percentage values. For instance it’s easy to size an element’s width like so:

Get hands-on with 1400+ tech skills courses.