3 ms·
On the surface Tailwind seems quite great and whenever I stumble upon it I like the idea of good defaults, but since I don't use React or a component-based UI f
by thirdsun 6y ago
On the surface Tailwind seems quite great and whenever I stumble upon it I like the idea of good defaults, but since I don't use React or a component-based UI framework I'd mostly work with Tailwind's @apply directive, I assume, and at that point I wonder why I shouldn't simply stick to
.btn { padding: 4rem 2rem; border-radius: 2rem; }
rather than
.btn { @apply px-4 py-2 rounded }
It simply feels like an additional, unnecessary layer and, frankly, somewhat wrong.