# Float (`.sds-btn-float`)

Float — button animation. Buttons 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/btn-float/
- Category: Buttons (https://sds-motion-forge.netlify.app/categories/buttons/)
- 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/buttons.min.css" />

<button class="sds-btn-float">Button</button>
```

## How it works

Plays as soon as the class is applied, looping continuously. It animates its shadow/glow and movement and scale (transform). Timing is fixed for this effect, but you can still override animation-duration/timing-function on the element.

## Related

- [Tilt Float](https://sds-motion-forge.netlify.app/animations/btn-tilt-float/)
- [Fill Wave](https://sds-motion-forge.netlify.app/animations/btn-fill-wave/)
- [Fire](https://sds-motion-forge.netlify.app/animations/btn-fire/)
- [Flare](https://sds-motion-forge.netlify.app/animations/btn-flare/)
- [Flux](https://sds-motion-forge.netlify.app/animations/btn-flux/)
- [Glow Core](https://sds-motion-forge.netlify.app/animations/btn-glow-core/)
- [Glow Surge](https://sds-motion-forge.netlify.app/animations/btn-glow-surge/)
