3 ms·
You are basically doing the same using another syntax which has some pros, and a lot of cons.
by speedgoose 5y ago
You are basically doing the same using another syntax which has some pros, and a lot of cons.
- CharlesW 5y ago> You are basically doing the same using another syntax… You seem to be thinking of Tailwind as just syntactic sugar. If that's your lens and you're not leveraging its strengths as a framework, then yes — you might as well use raw CSS.
- speedgoose 5y agoI do thing that it's a bit more than replacing the style attribute with the class attribute using a billion classes and css rules that needs to be removed later on, but not much more. You need to know a lot of CSS anyway to understand what tailwind is doing. Raw css is not the perfect solution either, I personnally prefer SCSS but I hope to see better solutions.