Hacker News new | ask | show | jobs
by mkarnicki 2311 days ago
> Then I'd have to change my HTML everywhere

Nope. Once you see same (sub)set of classes repeated, you would instead define .alert and .alert-danger using Tailwind's @apply directive, and you now have a single place to change how your `alert alert-danger` looks :)

1 comments

Isn't that like recreating bootstrap component again? It's just that this time it's not created by default at first