Replies: 1 comment
-
Hello, To port an animation library like tailwind-motion, you can create a Tailwind plugin and integrate it into your tailwind.config.js. Here's a basic example: javascript module.exports = { html This will generate CSS classes with custom values.Best Regards, |
Beta Was this translation helpful? Give feedback.
-
From a previous post Adam said the JS API uses a slow-path which leads to me to believe that the expected future for tailwind plugins are CSS files. Is this true or is the "Modern API" built with JS plugins in mind? How do I go about porting an animation library like
tailwind-motion
?EDIT: How do we use arbitrary values using CSS plugin API?
Beta Was this translation helpful? Give feedback.
All reactions