DEV Community

Cover image for Summer Travel Blog Site focus on responsive design
Heggy Castaneda
Heggy Castaneda

Posted on

Summer Travel Blog Site focus on responsive design

Demo
Use em unit for relative font-size. em multiplies by your base font-size which is the parent container font-size.

Use rem when sizing your font for entire site. The most default html is 16px vs. em localized font-size difference.

min-width and min-height to keep text content to get too short or long (too spread out) when browser window gets too small.

Top comments (0)