Every few months someone rediscovers that you can skip mockups and design straight in code, and every few months a project quietly drowns in half-decided details because of it. Both things are true: the browser is the best design tool we have, and it is also a machine for postponing decisions.
The failure mode is subtle. In a drawing tool, an unresolved question looks unresolved — the spacing is obviously fake, the copy is obviously placeholder. In the browser, everything renders. Unfinished thinking gets a border-radius and starts to look like a choice.
The ritual
What keeps me honest is embarrassingly small: before I open the editor, I write five sentences on paper. What is this screen for, who arrives here, what must they read first, what may they ignore, and what happens when it goes wrong. Five sentences, then code.
With the sentences pinned above my desk, browser-first design becomes what it promised to be — real text, real widths, real states, and no translation loss between the picture of the thing and the thing.
tokens.css
/* Decide these before you're hungry. */
:root {
--space: 4px; /* one rhythm, multiplied */
--ink: #404040;
--muted: #737373;
--line: #e5e5e5;
}
The tokens file is the paper sketch's twin. If a value isn't in it, I'm not allowed to type it. That single rule converts "designing in the browser" from improvisation into composition.