Module 09Neill's Vibe · Tier 1 · Basic Vibe Coding~7 min

Styling where you can see it

No hunting across stylesheet files to find why something looks wrong. The style sits right on the element. That's Tailwind.

01 · the scene

"It's blue. I just can't find where it's told to be blue."

A button was the wrong color. The styling lived in a separate stylesheet, in a rule that pointed at a class, that was overridden by another rule somewhere else. I knew exactly what I wanted it to look like. I couldn't find the one place that decided it.

a frontend — chasing one wrong color
// button.css says: .btn { background: navy }
// theme.css ALSO says: .btn-primary { background: blue }
// which one wins? where do I even change it?
20 minutes lost to "where is this style coming from"
Neill51% · the terrain

"I can describe the look I want in a sentence. What killed me was the distance — the thing on screen and the rule that controls it lived in two different files, with a third file overriding both."

Claude49% · the execution

"Separate stylesheets are powerful but they put the style far from the element. For someone driving by sight, that distance is the enemy. Tailwind would've put the color on the button — visible, local, no hunt."

02 · the why

Put the style on the thing, not in a far-away file.

Traditional CSS lives in separate stylesheet files: you name a class, write rules for it elsewhere, and hope nothing else overrides it. Tailwind flips that — you style an element with small utility classes right in the markup (p-4 text-lg rounded bg-blue-500). The look is written where the element is. No separate file, no override mystery, nothing to hunt for.

∷

Utility classes

one job each

p-4 = padding. text-lg = bigger text. rounded = rounded corners. Small, predictable, composable.

⌖

Local

style ON the element

The classes sit right in the markup, so what you see and what controls it are in the same place.

◉

AI-fluent

generates cleanly

The AI writes Tailwind effortlessly, and you can read the result by eye — every class says what it does.

The model: it's the difference between a light switch on the wall by the door versus a switch in another room you have to go find. Tailwind puts the switch next to the light. For a non-designer driving an AI by sight, that's the fastest path to a decent-looking UI — changes are local, visible, and you never hunt across files to find why something looks wrong.

03 · predict it

A button is the wrong color. With Tailwind, where do you look?

You want to change a button's background. The project uses Tailwind. What's the fastest fix?

That's the old stylesheet hunt — the exact pain Tailwind removes. With Tailwind the style isn't in a far-away file at all.
Exactly. In Tailwind the color class lives on the element. What you see and what controls it are in the same place — change bg-blue-500 to bg-emerald-500 right there, done. No separate file, no override mystery.
04 · the walkthrough

Style by class name, in four frames.

<button class="…">
step 1The element carries its own style as utility classes — the look is written right where the element is.
p-4 text-lg rounded
step 2Each class does one thing: padding, text size, rounded corners. Read it by eye, no decoder needed.
bg-blue-500 → bg-emerald-500
step 3Change one class to restyle. The change is local and visible — nothing hidden in another file overrides it.
no stylesheet maze
step 4No separate CSS file to keep in sync, no cascade mystery — what you see is what controls it.
05 · prove it · gate

Teach it back to unlock the payoff.

Same rule as always: answer it right, or the module isn't done.

Why is styling with Tailwind utility classes easier for a non-designer driving an AI?
// one correct answer unlocks Module 09
Not the load-bearing reason. It isn't about speed, and Tailwind doesn't make design decisions for you. Think about where the style lives.
That's it. The win is locality: the style sits on the element, so what you see and what controls it are the same place. No stylesheet maze, no override mystery — exactly what you want when you're driving by sight. Module unlocked. ↓
the durable idea

Put the style on the thing you're styling. When the look and the rule live in the same place, you change it by sight instead of hunting for it.

06 · factory payoff
⊘ locked — pass the teach-back to claim this piece of the factory

A styled component, all class names, no stylesheet.

A real Tailwind-styled Card.jsx — every bit of styling sits on the element as utility classes, so you can restyle it by sight — plus a one-page cheat sheet mapping the classes you'll reach for most (spacing, text, color, layout) to what they do. Hand it to the AI or read it yourself.

✓ Module 09 complete