Replies: 1 comment
-
Hello, To incorporate the desired change for compatibility with your polyfill in Tailwind CSS, there are a few approaches you can take, depending on whether you want to extend Tailwind's default behavior or modify your custom configuration. Here’s how you can achieve it: javascript html ...
Option 2: Use Tailwind's @layer to Define Custom Styles
You can define the custom styles in your CSS directly using the @layer directive. This method is useful if you don’t want to touch the Tailwind configuration file.
css @layer utilities { Option 3: Fork and Modify Tailwind Source (Not Recommended) Best Regards |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Currently on v4-beta8, the class
open:visible
is transformed on the following css:I would use this instead to make it compatible with a still required polyfill.
I'm not sure if there is a better place to add this change than on tailwind itself, or how easy would be to fix that on the config.
Beta Was this translation helpful? Give feedback.
All reactions