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