Mountain Escape
This image automatically scales to fit inside its card without overflowing on smaller screens.
Resize the browser window to see how the images, text, navigation, and layout change for desktop, tablet, and smartphone screens.
On a desktop, the cards appear in three columns. On a tablet, they change to two columns. On a smartphone, they stack into one column. The images and text also resize to fit the screen.
This image automatically scales to fit inside its card without overflowing on smaller screens.
CSS Grid changes the number of columns depending on the amount of available screen space.
The text, spacing, navigation, and layout adjust to make the page easier to view on mobile devices.
This page combines several responsive web design techniques.