4 ms·
I don't really understand why people would use something like that instead of writing pure css. The amount of the code you're writing is same, plus you need to
by fatih-erikli 4y ago
I don't really understand why people would use something like that instead of writing pure css. The amount of the code you're writing is same, plus you need to remember class names.
- mrwnmonm 4y agoThis is exactly why I don't use it. I don't really care if my css is a little bit messy, but I already know almost every css attribute, why I should start memorizing a lot of other names?
- snehesht 4y agoTailwind has a bit of learning curve but once you start using it, it makes your work a lot easier.
- fatih-erikli 4y agoPure css doesn't have any learning curve. Learning css makes your work a lot easier too
- rado 4y agoYes. And what happens when an element defined by utility classes only needs to change properties in different context?
- fatih-erikli 4y agoYou just create another class. Or you use "style" attribute if it's not worth for defining a class. This is what cascading styles (css) stand for. You have a lot of options and definitely using a different class for each style attribute (what tailwind or bootstrap utilities do) is not one of them.