CSS and Tailwind utilities are different jobs
A stylesheet names a look and hides it in another file. A utility class states the look on the element. Designers need both, and they need to know which one they are reading.

Zander Whitehurst
12 min read
A designer who can read CSS can still get lost in a Tailwind file, and a designer who only knows utilities can still get lost in a stylesheet. They produce the same pixels. They do not organise the work the same way.
CSS names a look, then stores that look somewhere else. A utility states the look on the element you are looking at. Once you can tell which one you are reading, reviewing a component stops being a scavenger hunt. This is the distinction I want every designer in the AI Design Engineering Bootcamp to have before they start changing spacing in a real product. If you want the gentler introduction first, start with Tailwind CSS for designers and CSS syntax for design systems.
The same card, written twice
Here is a pricing card in ordinary CSS. The markup is short. The look lives in a class.
<article class="price-card">
<h2>Pro</h2>
<p>$24 / month</p>
<button class="price-card__button">Choose Pro</button>
</article>
.price-card {
display: flex;
flex-direction: column;
gap: 16px;
padding: 24px;
background: white;
border: 1px solid #e5e7eb;
border-radius: 16px;
}
.price-card__button {
background: #2563eb;
color: white;
padding: 8px 16px;
border-radius: 8px;
}
The HTML tells you the structure. It does not tell you the padding, the radius or the button colour. To see those you open another file, find .price-card, and hope nobody else overrode it later in the stylesheet.
Here is the same card in Tailwind.
<article class="flex flex-col gap-4 p-6 bg-white border border-gray-200 rounded-2xl">
<h2 class="text-lg font-semibold">Pro</h2>
<p class="text-sm text-gray-600">$24 / month</p>
<button class="bg-blue-600 text-white px-4 py-2 rounded-lg">
Choose Pro
</button>
</article>
Nothing is hidden. p-6 is 24px of padding. gap-4 is 16px between the children. rounded-2xl is the 16px corner. If you already know the spacing scale, you can picture the card without opening a stylesheet.
What each one is optimising for
A stylesheet is a catalogue of named looks. .price-card means "the card we agreed on". Change the rule and every card that uses the name changes with it. That is powerful when the name is stable and the look is shared. It is painful when the name is vague, the file is long, or three other rules also match the same element.
Utilities are a vocabulary of single decisions. p-6 always means the same padding. It does not depend on which file loaded last, and it does not depend on a class name someone invented on a Thursday. The trade is that the shared look is no longer a single rule. If twelve cards repeat the same fifteen classes, you have copied a design decision twelve times.
I treat that as a design-systems question, not a fashion question. A decision used in one place can live on the element. A decision used everywhere should have a name. In a React product that name is usually a component, not a CSS class. The <PriceCard> owns the utilities. Callers pass the plan name and the price. You still get one place to change the radius. You also get props, variants and a file that shows up in code search. That is the same move as going from HTML to JSX.
The cascade is the part designers feel
CSS applies more than the class you wrote. A later rule, a more specific selector, or an element selector can change the same property. .price-card button { border-radius: 0 } somewhere in a global file will flatten the button even though .price-card__button asked for 8px. You will not see that by reading the component.
Utilities opt out of that argument. A class on the element sets the property. Another utility on the same element can override it only if it comes later in the stylesheet Tailwind generates, which is why conflicting classes like p-4 p-6 are a smell. You delete one. You do not go hunting.
This is why a Tailwind diff is kinder to a designer. The change is on the element. p-4 became p-6. You can see it in the pull request without reconstructing the cascade.
When a stylesheet is still the right tool
I still write CSS. I just do not write it for things Tailwind already names clearly.
- A token. Colour, type, radius and space belong in the theme, whether that theme is CSS variables or a Tailwind config.
bg-primaryis a utility pointing at a token. The token is still the source of truth. See primitive tokens and semantic tokens. - A complex selector you would not want in the markup. Styling the placeholder of an input, or the marker of a list, is often clearer as a small block of CSS than as a chain of arbitrary variants.
- Keyframes and anything the utility set does not cover cleanly. A one-off illustration animation, a print stylesheet, a third-party widget you cannot edit. Put that in CSS and leave it there.
- A reset or a base style for the whole document. Body type, link underlines, focus outlines that every page inherits. These are global on purpose.
What I stopped doing is inventing .card, .card--large and .card--muted for layout that a component can hold. Those class names felt like a design system. They were a second design system, drifting away from Figma, with no props and no owner.
How to read a file that uses both
Plenty of codebases are mixed. A button component uses utilities. A marketing page still has a global.css. When you open a file, ask three questions.
- Is the spacing, colour and radius on the element, or behind a class name?
- If it is behind a class name, is that name a component (
PriceCard) or a stylesheet rule (.price-card)? - If you changed the value, would you be changing one instance or every instance?
The third question is the one that saves you. A utility on a single page is local. A utility inside a shared component is global. A class in a stylesheet is global in a way that is harder to see. Before you ask an agent to "make the cards tighter", find out which of those you are touching.
Directing an agent without mixing the two
Agents are fluent in both, and they will happily invent a new CSS class when you asked for a spacing change. Be explicit about the system the file already uses.
"This card is styled with Tailwind utilities. Change the padding from p-6 to p-4 and the gap from gap-4 to gap-3. Do not add a stylesheet or a new class name."
If the file is CSS, name the rule.
"In .price-card, change padding from 24px to 16px. Leave the button rule alone."
The mistake is asking for a visual result and letting the tool choose the mechanism. You get a new class, an inline style, and a utility, all on the same element, and the next person cannot tell which one wins.
A way to practise
Take one component you know well, a button or a card. Write it as a stylesheet with two classes. Then write it again as utilities only. Then wrap the utility version in a component with one variant prop, primary or secondary.
The pixels can match all three times. The thing you are learning is where a change would land. After that, keep the class reference open while you read real files. The names stop looking like noise once each one maps to a property you already set in Figma.
Memorisely