Why are all these form styles applied? #11047
-
|
This is the content of my I dont have any css declarations myself, I just use the built-in classes provided by tailwind. However when I add a I understand tailwind does a bit of CSS reset during preflight. But where are all these changes to form inputs coming from? The preflight documentation makes no mention of these things... Where does this come from and how do I disable this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
That styling seems to be coming from the
|
Beta Was this translation helpful? Give feedback.
That styling seems to be coming from the
@tailwindcss/formsTailwind plugin. You can either:pluginsarray.strategy: 'class'option to only style form elements selectively.