|
|
|
|
|
by azangru
704 days ago
|
|
> FWIW for a Button, your engineer should just encapsulate all the “ridiculous” styling into a <Button /> element. Sure thing. What I don't understand though is why not put a Button.css file next to the Button element file, and describe all the button styles in there. What's so hard about building or maintaining that? |
|
Tailwind lets you style elements in the same file as the element, you don't have to switch between `button.<whatever you use>` and `button.css` to know what is going on.
nah, I love tailwindcss.