by xigoi · 3y ago · 0 comments
I rarely think this. It's usually “I want a button that looks like all other buttons on my site”. Vanilla CSS is great for that.
So I still have to componentize my presentation layers to do tailwind "correctly", but instead of writing CSS in readable multiline chunks in a language every developer already knows, I need to use this cryptic one liner in any order that literally nobody can read?
What in the hell is wrong with this industry? Sometimes clever ideas aren't all that clever. Sometimes they're just dumb.
button {
/* your styles here */
}
to set a precedent for all your future buttons.