Packages

tw-animate-css

1.4.0 · 24 Sep 2025MIT52.3M / weekRepositoryHomepagenpmAtom feed

Your version

1.3.0

16 May 2025Where it was published

1.4.0 is the newest release of 1.x.

In short

1 new1 fixed2 internal

Release note

Changelog

  • Align syntax with Tailwind CSS syntax

  • Add animation-duration-* utility

New features

I've decided to add a animation-duration-* utility which should be used to define animation durations in the future. For now, duration-* is still supported to remain compatible with tailwindcss-animate.

This utility was added so you can define different durations for transitions and animations. Probably not something many people have a use case for, but I didn't want to define an own duration-* utility to actually set animation-duration. Please open an issue if you prefer to keep using duration-* instead of animation-duration-*.

Breaking Change

zoom-in-* and zoom-out-* utilities now require ratios to be specified differently:

- zoom-in-[1/2]
+ zoom-in-1/2

I don't expect this to affect many people, which is why this is not a major release. If you are affected by this, let me know.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.