Responsive design

Making websites work well on any screen size.

What it is

Responsive design makes a website work on any screen size. The same page reflows on a phone, tablet and desktop. It uses flexible grids, images and CSS rules to adjust the layout.

Why it matters

Most web traffic comes from phones. A site that does not adapt loses those visitors. Responsive design is the minimum standard for any new site.

How to use

  • Design for mobile first, then add layouts for larger screens.
  • Use relative units like rem and percent instead of fixed pixels.
  • Test on real phones and tablets, not only browser tools.
  • Use CSS grid and flexbox to build the layout.

FAQ

  • What's the difference between responsive and adaptive?

    Responsive shifts smoothly as the screen changes. Adaptive jumps between fixed layouts at set screen sizes.