animate-bounce: Tailwind CSS Animation Classes

The animate-bounce class applies a vertical bouncing animation to an element. This is often used to draw attention to buttons, icons, or important elements..


animate-bounce

The animate-bounce class applies a vertical bouncing animation to an element. This is often used to draw attention to buttons, icons, or important elements.

Code Example

html
<div class="animate-bounce h-10 w-10 bg-blue-500 text-white flex items-center justify-center rounded-full">
👆
</div>

Preview

👆

How to Use

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

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

Responsive Usage

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

html
<div class="sm:animate-bounce md:animate-bounce lg:animate-bounce">
Responsive element
</div>
  • sm:animate-bounce — applies from 640px and up
  • md:animate-bounce — applies from 768px and up
  • lg:animate-bounce — 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