@plugin '@tailwindcss/forms' not working for me #18107
Replies: 1 comment 1 reply
-
Seems to be working in this Tailwind Play which could suggest it is something particular with your project. Consider providing a git repo that reproduces the unexpected behavior if you'd like us to look into it further. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
hi everyone, im using tailwind v4.1 on my asp.net core project and the @plugin '@tailwindcss/forms' is not working for me. i already installed it using npm and the @plugin is already in my css file. but for the code below, all of the classes for peer-checked is not working when a radio button is selected. am i doing something wrong?
<input type="radio" name="Sample" value="1" id="sample1" class="hidden peer/sample1" required /> <label for="sample1" class="flex items-center justify-center px-4 py-3 border border-gray-300 rounded-lg cursor-pointer hover:bg-gray-100 peer-checked/sample1:bg-black peer-checked/sample1:text-white peer-checked/sample1:font-bold"> Sample Label </label>
thanks in advance to anyone who can help me out! =(
Beta Was this translation helpful? Give feedback.
All reactions