I am adding some custom animations, specifically focus-in.
I'd like to add the animation to allow me to use this plug-in, but it's not working as expected (I am fully expecting user error btw), but I couldn't find any documentation on how to do so.
I now expect to be able to animate my text with animate-duration-[5s] for e.g., but this isn't working as expected.
So,
<h1 class="animate-text-focus-in">Welcome to SvelteKit</h1> works exactly as expected
<h1 class="animate-text-focus-in animate-duration-[5s]">Welcome to SvelteKit</h1> doesn't change the duration at all.
Hi,
I am adding some custom animations, specifically focus-in.
I'd like to add the animation to allow me to use this plug-in, but it's not working as expected (I am fully expecting user error btw), but I couldn't find any documentation on how to do so.
Relevant pieces of my
tailwind.config.ts
I now expect to be able to animate my text with
animate-duration-[5s]
for e.g., but this isn't working as expected. So,<h1 class="animate-text-focus-in">Welcome to SvelteKit</h1>
works exactly as expected<h1 class="animate-text-focus-in animate-duration-[5s]">Welcome to SvelteKit</h1>
doesn't change the duration at all.