1. Think in utility classes
4 min
One idea
Tailwind means you style the element where you write it. Instead of naming something .project-card and jumping to a CSS file, you add small utility classes like p-4, rounded-xl, and text-slate-900 on the element itself.
Why this helps
Hackathon pages often work but look unfinished. Utility classes help you make quick, visible improvements without stopping to invent class names.
You still need design sense. Tailwind does not choose spacing, type, or layout for you. It gives you a shared set of tokens so your page feels consistent.
Old CSS habit
This works, but you split one visual idea across two places. On a small project, that slows you down.
// App.jsx
export default function App() {
return <section className="project-card">UPI Splitter</section>;
}
// style.css
.project-card {
padding: 16px;
border-radius: 12px;
background: white;
color: #0f172a;
}Tailwind habit
Now the styling is attached to the section. You can scan the element and understand its spacing, shape, colour, and text treatment.
export default function App() {
return (
<section className="rounded-xl bg-white p-4 text-slate-900 shadow-sm">
UPI Splitter
</section>
);
}