# Rotate (`.sds-card-rotate`)

Rotate — 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-rotate/
- Category: Cards (https://sds-motion-forge.netlify.app/categories/cards/)
- Animated properties: filter, 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-rotate">Card</div>
```

## How it works

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

## Related

- [Refract Slide](https://sds-motion-forge.netlify.app/animations/card-refract-slide/)
- [Reveal Stack](https://sds-motion-forge.netlify.app/animations/card-reveal-stack/)
- [Rise](https://sds-motion-forge.netlify.app/animations/card-rise/)
- [Rubber Band](https://sds-motion-forge.netlify.app/animations/card-rubber-band/)
- [Scan](https://sds-motion-forge.netlify.app/animations/card-scan/)
- [Shadow Lift](https://sds-motion-forge.netlify.app/animations/card-shadow-lift/)
