CSS Units Explained for Responsive Web Design (Beginner to Pro)

CSSnippets on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

BeginnerWeb Design9 min

About this video

Explains absolute and relative CSS units, including px, percentages, em, rem, vw, vh, vmin and vmax, and when to use responsive units over fixed ones. It is aimed at people starting out with HTML and CSS or building responsive layouts.

What you’ll learn

  • Choose between absolute and relative CSS units for a layout
  • Use vw and vh viewport units to size elements responsively
  • Explain the difference between em and rem for typography