# Fog (`.sds-scroll-fog`)

Fog — scroll animation. 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-fog/
- Category: Scroll (https://sds-motion-forge.netlify.app/categories/scroll/)
- Animated properties: filter, 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-fog" 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 filters (blur/brightness), 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

- [Flip Reveal](https://sds-motion-forge.netlify.app/animations/scroll-flip/)
- [Flip Up](https://sds-motion-forge.netlify.app/animations/scroll-flip-up/)
- [Float](https://sds-motion-forge.netlify.app/animations/scroll-float/)
- [Glare](https://sds-motion-forge.netlify.app/animations/scroll-glare/)
- [Glitch Reveal](https://sds-motion-forge.netlify.app/animations/scroll-glitch/)
- [Glitch In](https://sds-motion-forge.netlify.app/animations/scroll-glitch-in/)
