# Bouncing Dots

> Three dots bouncing in sequence, great for typing and loading states.

- Category: [CSS Loaders & Spinners](https://copy-css.com/category/loaders)
- Tags: dots, loading, typing, bounce
- Live preview: https://copy-css.com/snippets/bouncing-dots
- License: Free for personal and commercial use. No signup, no attribution required.

## HTML

```html
<div class="loader-dots" role="status" aria-label="Loading">
  <span></span>
  <span></span>
  <span></span>
</div>
```

## CSS

```css
.loader-dots {
  display: flex;
  gap: 8px;
}

.loader-dots span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #0ea5e9;
  animation: loader-dots-bounce 0.6s ease-in-out infinite alternate;
}

.loader-dots span:nth-child(2) { animation-delay: 0.2s; }
.loader-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes loader-dots-bounce {
  to {
    transform: translateY(-14px);
    opacity: 0.4;
  }
}

@media (prefers-reduced-motion: reduce) {
  .loader-dots span {
    animation-duration: 1.5s;
  }
}
```

## Notes

- This CSS Bouncing Dots is 28 lines of pure CSS (0.5 KB) with no JavaScript and no dependencies. It uses keyframe animations, transforms, Flexbox and reduced-motion support.
- In JSX use `className` instead of `class`. In Tailwind projects put the CSS in the global stylesheet.
