# Falling Blocks Loader

> Three colored blocks that drop into place one by one, hold, then fade out and repeat.

- Category: [CSS Loaders & Spinners](https://copy-css.com/category/loaders)
- Tags: squares, drop, stack, tetris, stagger
- Live preview: https://copy-css.com/snippets/falling-blocks-loader
- License: Free for personal and commercial use. No signup, no attribution required.

## HTML

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

## CSS

```css
.loader-blocks {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 64px;
}

.loader-blocks span {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: #7c3aed;
  opacity: 0;
  animation: loader-blocks-drop 2s cubic-bezier(0.3, 0, 0.3, 1.4) infinite;
}

.loader-blocks span:nth-child(2) {
  background: #db2777;
  animation-delay: 0.2s;
}

.loader-blocks span:nth-child(3) {
  background: #f59e0b;
  animation-delay: 0.4s;
}

@keyframes loader-blocks-drop {
  0% { transform: translateY(-46px); opacity: 0; }
  20%, 70% { transform: translateY(0); opacity: 1; }
  90%, 100% { transform: translateY(0); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .loader-blocks span { animation: none; opacity: 1; }
}
```

## Notes

- This CSS Falling Blocks Loader is 35 lines of pure CSS (0.7 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.
