Skip to content
This day’s portion

My CSS is an absolute mess


Is a mess

Half atomic (millions of classes), half “going with the grain, work with the cascade”.

I should go with one or the other. The atomic stuff is easier, but I feel it’s an admission of defeat now we can do so much with CSS as it’s “meant” to be used.

Liked this?

Consider subscribing to the RSS feed. That way, you’ll get notified whenever I post anything new. If you’re not sure about RSS feeds, I wrote a guide to RSS.

Previous note

Next note


Add a comment

Required fields marked * I won’t publish or share your email address. Privacy statement.

Comments are moderated and won’t appear straight away. Subscribe to the comments feed to see when new comments are published.


Comments and replies to this post from other sites and services, such as and Mastodon.

Likes (1)

  • Kristof Zerbe

Replies (6)


@leonp I can relate. Mine has grown organically — add a feature, "ooh, it needs styling". I really should sort it out but ...


@colinwalker Exactly. I'm the only person who could possibly make sense of it (not that anybody else will ever need to, but still...) When I get the time I'll start from scratch...


@shauny oh yeah, definitely; it's my own site so no-one else will ever need to understand it. I'm not a professional developer, either. But... there's still that itch to get it “right”.

shauny :heart_progress:

@leonp I always start a project with the intention of having the cleanest and most well organised CSS ever, and it always ends up just a bit of a mess. Doesn’t really matter, if it’s just something you’re working on your own.


@leonp Ha! At least you can makes sense of yours. I'm not sure I can of mine. 😆


@colinwalker There is one advantage to constantly tweaking, I guess. Pretty simple design, lots of custom properties all help. I still find I annoy myself when I try and implement new stuff.