Details
Notifications
About this webinar
The gap between mobile-first as a concept and mobile-first as a habit
Most front-end developers have heard that mobile-first is the right approach, but in practice many still design for desktop first and then add overrides to shrink things down. The resulting CSS tends to be harder to maintain, with layers of competing rules and breakpoints scattered across multiple files. This webinar is about closing the gap between knowing the principle and actually working that way from the start of a project.
Starting from content, not from a device
A mobile-first approach works best when the starting point is a content hierarchy rather than a layout sketch. We walk through a structured method for listing a page's content elements in priority order, which then directly informs the stacking order on small screens. When the content is already in the right order for mobile, adding breakpoints for wider screens becomes an exercise in adding space and columns rather than fighting against an existing structure.
From wireframe to code without the usual translation problems
A recurring problem in teams is that design files assume a fixed canvas while the browser is inherently fluid. This session looks at a practical wireframing approach using rough sketches and annotated breakpoint diagrams that translate cleanly into CSS without ambiguity. We also cover how to communicate spacing and proportions to a developer in a way that does not require pixel-for-pixel matching — which is not achievable across all devices anyway.
Writing min-width media queries as a default
When starting from mobile, min-width queries are the natural choice because each breakpoint adds complexity rather than overriding defaults. We compare the specificity and cascade implications of min-width versus max-width approaches using a concrete example, showing how the min-width version produces shorter and more predictable CSS over time as a layout grows in complexity.
Does this webinar cover any specific design tools?
The wireframing discussion references Excalidraw and Figma, but the core principles apply to any tool or even hand sketches. The coding portion uses plain HTML and CSS with no preprocessors required.
Session program
-
Session 1 — Content prioritization as a layout foundation
An exercise in listing page content by importance and translating that list directly into a mobile layout order. Why this step prevents most common responsive rework. -
Session 2 — Sketching breakpoints before writing code
A quick annotation method for identifying the two or three layout changes a page needs across screen widths, and how to document them in a way a developer can use directly. -
Session 3 — Setting up a mobile-first CSS architecture
Base styles without any media queries, file organization strategies, and the convention of using min-width for all breakpoints. Walkthrough of a starter CSS file built live. -
Session 4 — Typography and spacing on small screens
Minimum font sizes for readability on 360px screens, line-height considerations, and touch target sizing based on WCAG 2.5.5 guidelines. Practical checklist included. -
Session 5 — Navigation patterns for mobile
Comparing four common mobile navigation patterns — hamburger menu, bottom navigation bar, priority plus, and progressive disclosure — with code examples for each. -
Session 6 — Progressive enhancement from mobile to desktop
Adding layout complexity at wider breakpoints while keeping the mobile base intact. Live conversion of a single-column mobile layout to a two-column desktop layout in under 30 lines of CSS. -
Session 7 — Testing with real devices versus emulators
What emulators miss, which real device sizes are most worth testing, and a five-minute cross-device checklist for pre-launch testing. -
Q and A
Open discussion, plus a shared resource document with all code examples and reference links.