# Magnetic Hover (`.sds-card-magnetic`)

Lifts and rotates slightly in a float. Cards animation in SDS Motion Forge v5.0.0. It loops continuously as soon as the class is applied.

- Page: https://sds-motion-forge.netlify.app/animations/card-magnetic/
- Category: Cards (https://sds-motion-forge.netlify.app/categories/cards/)
- Animated properties: box-shadow, transform
- Compositor-only: no
- 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-magnetic">Card</div>
```

## How it works

Plays as soon as the class is applied, looping continuously. It animates its shadow/glow and movement and scale (transform). `--sds-duration-dramatic` controls the speed — override either on the element or :root (the sds-fast/sds-slow modifier classes do exactly that).

## Related

- [Letterbox](https://sds-motion-forge.netlify.app/animations/card-letterbox/)
- [Levitate](https://sds-motion-forge.netlify.app/animations/card-levitate/)
- [Liquid Border](https://sds-motion-forge.netlify.app/animations/card-liquid-border/)
- [Momentum](https://sds-motion-forge.netlify.app/animations/card-momentum/)
- [Morph](https://sds-motion-forge.netlify.app/animations/card-morph/)
- [Neon](https://sds-motion-forge.netlify.app/animations/card-neon/)
