|
|
|
|
|
by cluckindan
536 days ago
|
|
Maybe you need to figure it out before jumping to conclusions like that. I think it’s much easier to understand what <input class=”input input--email input--valid”>
is supposed to be compared to <input class=”bg-white focus:outline-none focus:shadow-outline border border-gray-300 rounded-lg py-2 px-4 block w-full appearance-none leading-normal”>
|
|
Secondly though, and why this opinion is frankly stupid, is that I can just put this in my CSS code before it’s built through Vite:
input { @apply bg-white focus:outline-none focus:shadow-outline border border-gray-300 rounded-lg py-2 px-4 block w-full appearance-none leading-normal; }
And then lo and behold, I’ll do you one better:
<input type=“text”> </input> is now fully styled, with Tailwind only.