Notes from Day 4

There wasn't an exercise today, but there's a link to a video about the CSS units vh, vw, vmin, and vmax.

vh, vw, vmin, and vmax

A potential issue with vh is that on mobile (small screens), the content might spill over the vh region. You can fix it with media queries.

Example

vw

This block will always be 50% of the viewport width. The image has a width of 500 pixels.

Mountain Stars