Responsive Design in 5 Minutes: Media Queries

LearnCoachAssistWatch on YouTubeWatch on YouTube

SaveMark complete

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

BeginnerWeb Design4 min

About this video

This short tutorial introduces responsive design in HTML and CSS. It covers the viewport tag, stacking cards on phones, mobile-first min-width media queries, combining conditions, fluid type with clamp, and responding to dark mode.

What you’ll learn

  • Add the viewport tag to an HTML page
  • Stack cards into one column on small screens with a media query
  • Write mobile-first min-width media queries