Mobile-first, viewports and why stacking columns is not enough
Why starting with desktop mockups and stacking blocks into one column is fake mobile-first, why we should talk about viewports instead of devices, and why media performance matters just as much as layout.
Even though mobile traffic has been exploding for years and on many products smartphone visitors already outnumber desktop visitors, I still see the exact same habit on almost every new project: the team designs a wide desktop layout first, gets it approved, and only at the very end asks how to squeeze it onto a phone.
The result is almost always the same. Three columns become one endless vertical column stacked on top of each other, the sidebar gets dumped at the bottom of the page where nobody will ever scroll, and the whole thing gets labeled "responsive".
That is not mobile-first design. It is desktop-first design folded into a narrow box.
Why designers default to desktop (and why it hurts the product)
I understand why it happens. Most of us spent years designing on big 24-inch or 27-inch monitors, so starting with a 1200px canvas feels comfortable and familiar. You have tons of empty space, so you never have to make hard decisions about what actually matters: you throw in a giant hero carousel, three promotional banners, a sidebar widget, social feeds and a multi-column footer because there is room for all of it.
When you change the process and actually start mobile-first, the way Luke Wroblewski laid out in his book Mobile First, everything changes.
Starting from a narrow viewport forces you to be very clear from day one. You have limited space, limited attention and often a slower mobile connection. You have to decide what the primary user task really is, remove unnecessary elements, establish clear content hierarchy, and make sure the core flow works cleanly with zero extras.
Then, as more space becomes available, you apply progressive enhancement: you introduce multi-column grids, secondary navigation, richer sidebars and wider layouts step by step using min-width media queries in CSS:
/* Base styles for the smallest viewport */
.article-item {
width: 100%;
margin-bottom: 1.5em;
}
/* Enhance layout only when the viewport has enough room */
@media (min-width: 45em) {
.article-item {
float: left;
width: 48%;
margin-right: 2%;
}
}
Instead of writing complex desktop CSS and then overriding half of it with max-width rules to hide things on phones, your stylesheet stays smaller, cleaner and easier to reason about.
Stop saying "tablet" and "desktop" experiences. Talk about viewports.
Back in 2010 when I first wrote about Responsive Web Design, I already felt uneasy about splitting the web into rigid device buckets. Three years later, people still talk about "the mobile version", "the tablet experience" and "the desktop layout" as if screen width tells you what hardware someone is holding.
It does not, and thinking that way leads to bad design decisions.
Think about how people actually use big desktop monitors every day. Plenty of users keep two browser windows side by side on a 27-inch screen, or resize a browser window down to 500px wide while reading documentation next to a code editor. Did their desktop computer suddenly turn into a smartphone or a tablet? Of course not. They still have a mouse, a physical keyboard and a fast connection, just inside a narrower viewport.
At the same time, some large tablets and small laptops share the exact same pixel width, while one uses touch and the other uses a trackpad.
That is why I stopped designing for "devices" and started designing strictly for viewports. Your layout breakpoints should happen where the content and typography actually start feeling cramped or stretched, not at arbitrary iPhone or iPad dimensions.
Mobile-first also means media and performance
One of the biggest flaws in how mobile-first is practiced today is treating it as purely a layout exercise.
I constantly inspect "mobile-first" websites that stack their columns cleanly on a 320px viewport while still downloading a 1600px hero JPEG, five high-resolution background textures and heavy desktop JavaScript bundles over a 3G mobile connection. Hiding a desktop banner with display: none does not stop the browser from downloading it.
If you are serious about mobile-first, media and assets have to follow the same progressive enhancement mindset:
- Load heavy decorative background images only inside larger
min-widthmedia queries so small viewports never download them. - Use vector SVG for icons and logos instead of bloated sprite sheets or oversized PNGs.
- Avoid shipping massive desktop photos to small screens by using server-side image resizing or early responsive image tools like Picturefill until browsers finally agree on a native HTML standard.
- Keep your base JavaScript lean and load heavier interactive widgets only when the viewport and capability actually need them.
True mobile-first is not about shrinking a desktop site at the end of a sprint. It is about prioritizing core content, designing fluidly around viewports instead of device labels, and respecting bandwidth and performance from the very first line of CSS.