# Spring (`.sds-card-spring`)

Spring — card animation. Cards animation in SDS Motion Forge v5.0.0. It plays once as soon as the class is applied.

- Page: https://sds-motion-forge.netlify.app/animations/card-spring/
- Category: Cards (https://sds-motion-forge.netlify.app/categories/cards/)
- Animated properties: opacity, transform
- Compositor-only: yes
- Needs child elements: no
- Needs per-character spans: no
- JavaScript: none required

## Use it

```html
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@salkomdesignstudio/sds-motion-forge/dist/categories/cards.min.css" />

<div class="sds-card-spring">Card</div>
```

## How it works

Plays once, as soon as the class is applied. It animates opacity and movement and scale (transform) — compositor-only, so it never causes page reflow. `--sds-ease-spring` controls the feel — override either on the element or :root (the sds-fast/sds-slow modifier classes do exactly that).

## Related

- [Snap Back](https://sds-motion-forge.netlify.app/animations/card-snap-back/)
- [Spiral Reveal](https://sds-motion-forge.netlify.app/animations/card-spiral-reveal/)
- [Spotlight](https://sds-motion-forge.netlify.app/animations/card-spotlight/)
- [Stack Drop](https://sds-motion-forge.netlify.app/animations/card-stack-drop/)
- [Stack Pop](https://sds-motion-forge.netlify.app/animations/card-stack-pop/)
- [Stagger](https://sds-motion-forge.netlify.app/animations/card-stagger/)
