Responsive Web Design Basics

Responsive Design Demo

Adapting to multiple devices

About This Layout

Flexbox: The dark blue header uses Flexbox. On mobile, the title and subtitle stacks vertically. On larger screens, they align horizontally across from each other.

CSS Grid: This layout utilizes CSS Grid, which starts as a single column on small screens and automatically shifts into two different columns on screens 768px or wider.

Scalable Image Example

A shot of New York's night scene

This image uses CSS properties to remain fluid. Try resizing the browser window to see how it scales smoothly without overflowing its container.