Splits text into words and reveals them one after another, rising and fading in — softer than Text Reveal's line-by-line mask.
Classes
| Class | Plays |
|---|---|
fx-split-words-pl | On page load |
fx-split-words-st | When the element scrolls into view |
fx-split-words | Automatically, when its section scrolls into view |
Options that matter
- Duration —
fx-duration-[n], default0.8seconds. - Delay —
fx-delay-[n], default0. - Stagger —
fx-stagger-[n], default0.05seconds between words. - Ease —
fx-ease-[name], defaultpower3.out. - Start position —
fx-start-[pos], defaulttop 85%(scroll-triggered only).
The rise distance (30px) can only be changed from JavaScript — see JavaScript API.
Example
<p class="fx-split-words-st fx-stagger-[0.08]">Words rise in one by one.</p>