首页›A List Apart›文章

Mobile-First CSS: Is It Time for a Rethink?

Patrick Clancey · 2022年6月9日

AI 摘要 AI 生成,可能有误

The article challenges the assumption that mobile-first CSS is always the best development approach, arguing that its reliance on overwriting style declarations with min-width media queries creates unnecessary complexity, higher CSS specificity, and increased regression testing. The author proposes an alternative of developing breakpoints simultaneously using closed media query ranges, which isolates exceptions to default styles and reduces unwanted value inheritance. Additionally, with HTTP/2, splitting CSS into separate files linked with media attributes allows browsers to prioritize downloading only the styles they currently need, improving performance.

The mobile-first design methodology is great—it focuses on what really matters to the user, it’s well-practiced, and it’s been a common design pattern for years. So developing your CSS mobile-first should also be great, too…right? 

Well, not necessarily. Classic mobile-first CSS development is based on the principle of overwriting style declarations: you begin your CSS with default style declarations, and overwrite and/or add new styles as you add breakpoints with min-width media queries for larger viewports (for a good overview see “What is Mobile First CSS and Why Does It Rock?”). But all those exceptions create complexity and inefficiency, which in turn can lead to an increased testing effort and a code base that’s harder to maintain. Admit it—how many of us willingly want that?

On your own projects, mobile-first CSS may yet be the best tool for the job, but first you need to evaluate just how appropriate it is in light of the visual design and user interactions you’re working on. To help you get started, here’s how I go about tackling the factors you need to watch for, and I’ll discuss some alternate solutions if mobile-first doesn’t seem to suit your project.

继续阅读全文

为了尊重作者,这里只展示开头几段。你可以去原文阅读,或者在 HorizonReader 里读:划线做笔记、让 AI 帮忙。

更多来自 A List Apart

Designed for a Dead Language

AI 摘要Modern language apps like Duolingo, Anki, and Babbel inherited the Grammar-Translation method, originally designed in 18th-century Prussia to make Latin—a dead language—gradable at scale in classrooms rather than to produce speakers. Despite research like Krashen's showing that fluency comes from immersive acquisition rather than conscious rule study, apps optimized for measurable proxies like streaks and vocabulary scores because real conversational fluency cannot be instrumented. New AI conversation tools succeed not by inventing new pedagogy but by removing the access barrier to immersion, illustrating the design lesson that constraints once necessary can become invisible and mistaken for truths about the problem itself.

Good designers, bad websites: a proposal

AI 摘要The article argues that good designers unintentionally create inaccessible websites because there is simply too much accessibility guidance to remember, and since design decisions can affect life-and-death events, this is a critical problem. Drawing on Jakob Nielsen's 'Recognition rather than Recall' heuristic, the author proposes using free accessibility personas from Sarah Horton and Whitney Quesenbery's work during the design process, with a 'Designated Dissenter' on each team asking whether designs will work for users with low vision, autism, deafness, and other conditions. As homework, readers are urged to incorporate these personas into every design project and then consult platform-specific guidelines such as WCAG 2.2 to reclaim design for everyone.

Design for Amiability: Lessons from Vienna

AI 摘要The article uses the Vienna Circle (1928-1934), a group of philosophers, mathematicians, and scientists whose weekly discussions laid foundations for computing, as a case study in how community design can foster amiability among brilliant but difficult and disagreeable people. It attributes their conviviality to the Viennese café culture—with its flattering formality, low entrance friction, permeable boundaries, and the gentle social sanction of parody by humorists—and draws eight design principles for online communities: seriousness, empiricism, abstraction, formality, 'schlamperei,' openness, parody, and engagement. The era ended tragically in 1934 when Vienna's socialist government fell, forcing the Circle's members to flee, underscoring how precious and fragile such amiable environments are.

Design Dialects: Breaking the Rules, Not the System

AI 摘要The article argues that design systems should be treated as living languages capable of developing 'dialects'—systematic adaptations that preserve core principles while serving specific user contexts—rather than rigidly enforcing visual consistency. It cites examples like Shopify's Polaris being adapted for warehouse workers using gloved hands on scanners in dim conditions (raising task completion from 0% to 100%) and Atlassian's Flexibility Framework, which tiers components by how much they can be customized. Ultimately, the author advocates governance that documents deviations, promotes shared patterns, and prioritizes user fluency over uniformity, since unity through shared principles beats cloned components.

An Holistic Framework for Shared Design Leadership

AI 摘要The article presents a holistic framework for shared design leadership, comparing a design team to a living organism in which the Design Manager tends to the 'nervous system' (people and psychology), the Lead Designer tends to the 'muscular system' (craft and execution), and both jointly care for the 'circulatory system' (strategy and flow). Rather than drawing rigid boundaries on an org chart, the author argues the two roles should embrace their overlap, be explicit about which lens they're using, create feedback loops between systems, and handle handoffs gracefully. When both act as caretakers of the same organism—avoiding failure modes like system isolation, poor circulation, and territorial 'autoimmune' disputes—teams gain better decisions, stronger collaboration, and design work that is both excellent and sustainable.