The official documentation for the definitive "chunky" JS runtime. Animate your websites with ease.
TakenCSS is a single, self-contained JavaScript file. There's no build step or package manager required. Just add the script tag to the end of your <body>
and you're ready to start building.
For more dynamic control, TakenCSS exposes a global Taken
object with powerful animation utilities.
Animate a list of elements one after the other. This function is async
and will wait for each animation to finish before starting the next.
Animate a list of elements with a cascading delay. This is perfect for creating elegant entrance animations for lists and grids.
The core of the library. Add the anim
class followed by an animate-*
class to any element. You can also apply animations declaratively using the animate="..."
attribute for load or click triggers, or scroll-animate="..."
to trigger on viewport entry.
TakenCSS is built with CSS variables. You can easily override the default theme by defining your own values in a <style>
tag in your HTML head.