5 ms·
I've been using Tailwind for a few months now and this is the perfect example of how flexible and powerful "functional css" can be. Components truly encapsulat
by gitgud 7y ago
I've been using Tailwind for a few months now and this is the perfect example of how flexible and powerful "functional css" can be.
Components truly encapsulate everything, by including all styling in the HTML, the only dependency is tailwind.css.
Although the markup looks messy (at first), you get the advantage of high portability of components, high flexibility and super fast development time.
- dmix 7y agoNot having to hunt down random nested CSS to fix styling is worth the cost of the slightly ugly and verbose class based functional approach. You can copy any other Tailwind block of code and it should work predictably on your site. Which is very rare in the CSS world. The hardest part of this is forcing yourself to use the system instead of side stepping it.