Responsively Designing with Viewport Units

Aquent Gymnasium on YouTubeWatch on YouTube

SaveMark complete

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

IntermediateWeb Design5 min

About this video

A tutorial by Ethan Marcotte on using CSS viewport units to make designs respond fluidly to screen size, with starter and completed project files on CodePen. It is aimed at designers and developers who already work with CSS.

What you’ll learn

  • Apply viewport units to size type and layout elements responsively
  • Use calc() to combine viewport units with fixed values
  • Control how images fit and position within responsive containers