|
|
|
|
|
by TheCapeGreek
147 days ago
|
|
Which leads us to: Tailwind supports making your own components, and encourages it. But devs, either pressed for time or lazy, or by always getting a slightly too unique design from their design team, don't do it. At the same time, not everything is a reusable component, so yeah, shove a couple dozen tailwind classes there and call it a day. Still better and less messy than hand-wringing custom selectors or custom element styling - else Bootstrap would be better for tweaking than "100% tweaks". It's the usual OOP debate on inheritance vs composition. Tailwind is composition, and it's clearly the favoured approach. |
|