new-data-services / tailwindcss-animated

Extended animation utilities for Tailwind CSS
https://tailwindcss-animated.com
MIT License
692 stars 10 forks source link

CDN support #13

Closed chemiadel closed 5 months ago

chemiadel commented 5 months ago

how to use this plugin on CDN ?

heidkaemper commented 5 months ago

I don't think 3rd party plugins are currently supported by the Play CDN.

That would be a nice option to have for rapid development and experiments. However, as the Tailwind CDN is not intended for production, I think this is acceptable.

chemiadel commented 5 months ago

Check this out, https://jsfiddle.net/fcv5epma/

we can set theme and configs using tailwindcss config https://tailwindcss.com/docs/installation/play-cdn

it can be useful for iframes and web builders.

Thanks

heidkaemper commented 5 months ago

Fair, predefined animations (keyframes) would work that way. But custom utilities not, right? Try to add a animate-duration-75 class for example. This kind of extension only works with plugins, as far as I know.