Re:TailwindCSS v2.0
by IggleSniggle on Wednesday November 18, 2020 @03:18PM
(#25141902)
For the second one, couldn’t you get the same effect by just using css variables?
[ Parent
| on HN ]
Re:TailwindCSS v2.0
by adamzapasnik on Wednesday November 18, 2020 @03:28PM
(#25142037)
Sure you can and you should, right?
But this way you have to write couple of classes more, couple of variables more. And with Tailwind you just define/change value in the config and you have all the classes generated, so the changes are minimal.