Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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?



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: