Re:Rules for creating good-looking user interfaces, from a d...
by cal85 on Friday September 19, 2025 @11:59AM
(#45303150)
The equivalent tailwind is to just put h-8 (or whatever it is) on whichever form elements and buttons you want to be that height. Tailwind recommends you never use `@apply` - it’s basically an escape hatch for weird, niche interop requirements if you’re not all-in on Tailwind.
What is it about your example that the tailwind approach (h-8) doesn’t achieve?
What is it about your example that the tailwind approach (h-8) doesn’t achieve?