animate-none: Tailwind CSS Animation Classes

The animate-none class disables any animation on an element.


Animate-none

The animate-none class disables any animation on an element. It ensures that no animations are applied, even if an animation is set via Tailwind's animation utilities or custom CSS.

Code Example

html
<div class="animate-none bg-blue-500 text-white p-4">
This element has no animation.
</div>

Preview

This element has no animation.

How to Use

Add the animate-none class directly to your HTML element:

html
<div class="animate-none">
<!-- Your content here -->
</div>

Responsive Usage

Use Tailwind's responsive prefixes to apply animate-none at specific breakpoints:

html
<div class="sm:animate-none md:animate-none lg:animate-none">
Responsive element
</div>
  • sm:animate-none — applies from 640px and up
  • md:animate-none — applies from 768px and up
  • lg:animate-none — applies from 1024px and up

Customization

You can extend or override this utility in your tailwind.config.js. See the Tailwind CSS documentation for details on customizing your theme.

Windframe is an AI visual editor for rapidly building stunning web UIs & websites

Start building stunning web UIs & websites!

Build from scratch or select prebuilt tailwind templates