Did any one use this library with keyframes defined in a tailwind.config.cjs file - when using Sveltekit+tailwind css? #9
Unanswered
alexbjorlig
asked this question in
Q&A
Replies: 1 comment 1 reply
-
@alexbjorlig I did not tested it with tailwind, but one thing that you need to keep in mind, is that the svelte CSS has the <Saos animation={'slide-left 0.5s cubic-bezier(0.35, 0.5, 0.65, 0.95) both'}>
<span>Should work?</span>
</Saos> As, I don't think tailwind config is pre-processed by svelte, you need to search how to make a animation global (if its not the default), and how to call it from svelte |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I tried adding keyframes in the tailwind config, but when using in
Saos
it does not work.tailwind.config.cjs
In svelte component:
I tried both with and without
-global
, but no success.Beta Was this translation helpful? Give feedback.
All reactions