You are previewing Responsive Web Design.

Responsive Web Design

Cover of Responsive Web Design by Ethan Marcotte Published by A Book Apart
O'Reilly logo
Chapter 4: Media Queries

For most of my career, I’ve been a staunch proponent of non-fixed layouts. Flexible or completely fluid, it didn’t matter: I felt that building some measure of fluidity into our designs better prepared them for the changes inherent to the web: changes in the user’s browser window size, in display or device resolution. What’s more, I’d often use words like “future-proof” and “device-agnostic” when describing the need for this flexibility. Often while standing alone at parties.

But at some point, everything breaks.

As flexible as the Robot site is right now, it’s not completely bulletproof. Sure, its fluid grid makes it pretty resilient to changes ...

The best content for your career. Discover unlimited learning on demand for around $1/day.