Animation
The cards can animate when they scroll into view, for example fade in or bounce. The options are on the Animation tab. The animation works in the grid and in the carousel.
Turn it on
- Open the Animation tab and set Enable Animation to Enable.
- Choose an effect in Animate Class, for example Fade In Up or Zoom In.
- Save and scroll to the module on your site.
The animations come from the Animate.css styles that ship with the module. The script that starts them, WOW, is loaded from cdnjs.cloudflare.com when animation is on.
Options
| Option | Default | What it does |
|---|---|---|
| Box Class | animatemyitem | The CSS class the script looks for. Keep the default unless you use the same class elsewhere. |
| Animate Class | Bounce | The effect: attention effects (bounce, pulse, shake...), and fade, slide, zoom, flip, rotate and roll effects. Use an "In" effect for cards that appear. |
| Duration | 0.4s | How long the effect runs, with the unit, for example 1s. |
| Delay | 0.3s | The wait before the effect starts. All cards use the same delay. |
| Offset | 0 | How many pixels of the card must be in view before it starts. |
| Mobile | Enable | Run the effect on phones and tablets. |
| Live | Enable | Also animate cards that are added to the page later. |
| Scroll Container | null | A CSS selector of a scrolling box, for pages where the module sits inside one. Keep null for normal pages. |
Keep Mobile and Live at Enable. In 6.0.1, setting either to Disable stops all animations of the module. If you do not want animations on phones, turn Enable Animation off.
The effects with "Out" in their name make the cards disappear. Do not use them for cards that should stay visible.
Carousel slide effects
The Animate In and Animate Out options on the Carousel Settings tab have no effect in 6.0.1. The carousel always slides.