Slides up into place from below while fading in. The general-purpose "something appears" effect — works well on images, cards and paragraphs.
Classes
| Class | Plays |
|---|---|
fx-reveal-pl | On page load |
fx-reveal-st | When the element scrolls into view |
fx-reveal | Automatically, when its section scrolls into view |
Options that matter
- Duration —
fx-duration-[n], default1second. - Delay —
fx-delay-[n], default0. - Ease —
fx-ease-[name], defaultpower3.out. - Start position —
fx-start-[pos], defaulttop 85%(scroll-triggered only).
The slide distance (80px) can only be changed from JavaScript — see JavaScript API.
Example
<img src="photo.jpg" class="fx-reveal-st fx-delay-[0.2]" alt="" />