Responsive Design – Miffy Theme

Responsive Web Design – Miffy Theme 🐰

This page demonstrates CSS Grid, Flexbox, Media Queries, and Responsive Images.

1. CSS Grid Layout

The cards below use CSS Grid. On large screens they appear in three columns. When you resize the screen below 768px, they stack into one column.

Cute Image

Card One

This image scales using width: 100% and height: auto.

Cute Image

Card Two

The layout changes using a media query.

Cute Image

Card Three

Try resizing the browser to see responsiveness.

2. Flexbox Navigation

The navigation bar uses Flexbox. It displays horizontally on larger screens and stacks vertically on smaller screens.

3. Media Queries

The media query at 768px changes both the grid layout and navigation layout. This demonstrates how responsive design adapts to different device sizes.