Why does applying outline and shadow removal work in CSS but not in HTML with Tailwind classes? #16818
Unanswered
MonaAghili
asked this question in
Help
Replies: 0 comments
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.
Uh oh!
There was an error while loading. Please reload this page.
-
I’m trying to remove the outline and box-shadow from a radio button in my project. When I add the following CSS in my stylesheet, it works perfectly and removes the outline and shadow as expected:
However, when I try to apply the same styles directly in the HTML using Tailwind CSS classes, the outline and shadow still remain visible. Here's the HTML code I'm using:
Does anyone know why the styles are not being applied when using Tailwind classes in HTML, but they work when applied through the CSS file? Any help would be appreciated!"
Beta Was this translation helpful? Give feedback.
All reactions