# Rubber Band (`.sds-scroll-rubber-band`)

Squashes and stretches into place with rubber-band physics. Scroll animation in SDS Motion Forge v5.0.0. It plays once when scrolled into view.

- Page: https://sds-motion-forge.netlify.app/animations/scroll-rubber-band/
- Category: Scroll (https://sds-motion-forge.netlify.app/categories/scroll/)
- Animated properties: opacity, transform
- Compositor-only: yes
- Needs child elements: no
- Needs per-character spans: no
- JavaScript: sds-scroll (optional)

## Use it

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

<div class="sds-scroll-rubber-band" data-sds>Scrolls into view</div>
```

## How it works

Plays when the element enters the viewport (gated by data-sds + the scroll engine, or fire it yourself by adding the class). It animates opacity and movement and scale (transform) — compositor-only, so it never causes page reflow. Timing is fixed for this effect, but you can still override animation-duration/timing-function on the element.

## Related

- [Rise Right](https://sds-motion-forge.netlify.app/animations/scroll-rise-right/)
- [Roll In](https://sds-motion-forge.netlify.app/animations/scroll-roll-in/)
- [Rotate In](https://sds-motion-forge.netlify.app/animations/scroll-rotate-in/)
- [Saturate](https://sds-motion-forge.netlify.app/animations/scroll-saturate/)
- [Scale Reveal](https://sds-motion-forge.netlify.app/animations/scroll-scale/)
- [Scan Line](https://sds-motion-forge.netlify.app/animations/scroll-scan/)
