see https://developer.mozilla.org/en-US/docs/Web/CSS/padding
see https://developer.mozilla.org/en-US/docs/Web/CSS/padding
It might be just a personal defficiency, but it is how it is (for me).
Of course you shouldn't do that, but it happens to be the case that Phoenix does exactly that
.foo { padding: 0; padding: 1rem; }
then I can see the precedence but I don’t see how it’s an advantage. You can write bad code in any methodology.
That seems like an issue with Phoenix and not Tailwind or the Tailwind approach.
another huge benefit these days is with the styling living alongside the markup, it is very easy to use chatGPT or other AI tools to copy/paste and have changes made, etc. it is much less work with one file vs multiple. you can give the context super easily and take the results very quickly.