Moving away from Tailwind, and learning to structure my CSS
The author reflects on their journey from using Tailwind CSS to adopting a more semantic HTML and vanilla CSS approach after eight years. They found the transition enjoyable and insightful, recognizing that Tailwind had indirectly taught them valuable structuring principles. Key takeaways include organizing CSS by components, reusing Tailwind's reset, and maintaining design consistency through variables and conventions.
- ▪The author migrated several websites from Tailwind CSS to semantic HTML with vanilla CSS for better structure.
- ▪Tailwind's built-in systems, such as its reset stylesheet and font scale, influenced the author's new CSS organization approach.
- ▪The new CSS structure includes separate files for components, global variables for colors and font sizes, and adherence to non-overlapping styling rules.
- ▪Each component uses a unique class to prevent style conflicts and improve maintainability.
- ▪The author copied Tailwind’s preflight reset and adopted its font size scale to maintain familiarity and consistency.
2 outlets in our directory ran this story, first to last over 7 hours. All of the coverage we found sits in one bucket: centre. That one-sidedness is itself worth noticing.
Hacker News (Newest) files mainly under programming. We currently carry 5,306 of its stories.
Story provenance
Source · retrieval · rights · ranking — open for full record
inspect →
Story provenance
Attribution is not the same as permission. This drawer separates discovery metadata, excerpts, WeSearch-generated summaries, reuse status, and whether the publisher receives the visit. Nothing here claims a legal grant the publisher has not made.
Record
| Original publisher | Julia Evans |
| Canonical URL | https://jvns.ca/blog/2026/05/15/moving-away-from-tailwind--and-learning-to-structure-my-css-/ |
| Publication time | Sat, 16 May 2026 09:14:26 +0000 |
| Retrieval time | 2026-05-16T09:40:18.070Z |
| Last seen | 2026-05-16T09:40:18.070Z |
| Headline source | Publisher (no WeSearch rewrite) |
| Excerpt source | publisher body |
| Excerpt method | First ~120 words (~800 chars) of extracted publisher body, fair-use limited. |
| Summary | WeSearch · cerebras-chat (WeSearch summarizer) |
| Summary source text | contentText |
| Citation coverage | Summary is a WeSearch-generated derivative; primary citation is the original publisher URL. |
| Cluster | Vo58RCuPBsbX · 2 stories |
| Cluster logic | Grouped by semantic title/content similarity across sources within a rolling window. Same-publisher template collisions are excluded from coverage comparison. |
| Ranking reason | Story pages are not engagement-ranked. Hub feeds use recency, with optional source-diversified chronological ordering (cap consecutive stories per source). No personalized ranking. |
| Publisher visit | Yes — open original |
| Substitutes article? | No — link-out required for full text |
Rights status (four layers)
WeSearch handling by dimension
| Indexing | May the item be indexed (stored, ranked, made findable)? | Allowed |
| Snippet | May a short excerpt of the publisher's text be shown? | Allowed |
| AI summary | May WeSearch generate its own short summary of the article? | Limited |
| Retrieval / RAG | May the content be exposed for third-party retrieval-augmented generation? | Not asserted |
| Model training | May the content be used to train AI models? | Not asserted |
| Commercial reuse | May the content be reused commercially? | Not permitted |
Basis: Derived from the published RSS/Atom feed. Contact: [email protected]. Reviewed: 2026-07-24.
Opening excerpt (first ~120 words) tap to expand
Moving away from Tailwind, and learning to structure my CSS • css • May 15, 2026 Hello! 8 years ago, I wrote excitedly about discovering Tailwind. At that time I really had no idea how to structure my CSS code and given the choice between a pile of complete chaos and Tailwind, I was really happy to choose Tailwind. It helped me make a lot of tiny sites! I spent the last week or so migrating a couple of sites away from Tailwind and towards more semantic HTML + vanilla CSS, and it was SO fun and SO interesting, so here are some things I learned! As usual I’m not a full-time frontend developer and so all of my CSS learning has happened in fits and starts over many years.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at Julia Evans.