> For the complete documentation index, see [llms.txt](https://themedocs.zenit.design/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://themedocs.zenit.design/en/content/shopping-experiences/animations.md).

# Animations

## Animations

The shopping experience scroll animations are triggered when the page is scrolled. This allows the content to be displayed in an animated manner.

{% tabs %}
{% tab title="Pro (>= 5.7.0)" %}
Select the **block (1)** or section and open the **Animations & Effects (2)** area. Select the desired animation from the **Animation type (2)** list.

![](https://2915610672-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4i6VN0FeNAgRFLwVM2Cr%2Fuploads%2FSaOBcvSHiUFjH4IVeuzB%2Fdocs-en-config-shopping-experiences-animations-select.webp?alt=media\&token=6191193d-1d18-477a-8b6f-637332b4c878)

The **Advanced Settings (1)** opens a window with further settings. If these are not configured, the d[efault values ​​from the theme configuration](/en/styling/general/animations.md#scroll-animation) apply.

The **Duration (2)** specifies how long the animation lasts in seconds. The **Delay (3)** describes the time until the animation starts. So, if an element reaches the visible area by scrolling, the animation waits another 0.25 seconds before starting. The **Offset (4)** is the distance in pixels that determines how far the element must be from the bottom of the screen before the animation is triggered. **Play only once (5)** ensures that the animation plays only once; otherwise, the animation plays every time the element re-enters the viewport.

<figure><img src="https://2915610672-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4i6VN0FeNAgRFLwVM2Cr%2Fuploads%2FdR8cnE27VG4ZOCYBhUkx%2Fdocs-en-config-shopping-experiences-animations-select-additional.webp?alt=media&amp;token=7dc5c836-e3b9-42e5-ad78-b002ae280572" alt=""><figcaption></figcaption></figure>

The animations are triggered when the element moves into the viewport by the visitor scrolling.
{% endtab %}

{% tab title="Cloud / Pro (< 5.7.0)" %}
The animation classes are inserted into the **CSS classes (2)** field of the **block (1)** in the layout settings.

Example:

```
zen-animate slide-in-blurred-bottom
```

![](https://2915610672-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4i6VN0FeNAgRFLwVM2Cr%2Fuploads%2FrS9nCT8Nu7Dqle9f3tF7%2Fdocs-en-config-shopping-experiences-animations.webp?alt=media\&token=1ba919ff-cba9-492c-904c-85ae60ad8c3e)

The animations are triggered when the element moves into the viewing area of the so-called viewport by scrolling.

### Scroll-Animation

To initiate an animation add the class `zen-animate` in conjunction with any of the following pre-made animation classes:

* `fade-in`
* `fade-in-top`
* `fade-in-bottom`
* `fade-in-fwd`
* `slide-in-top`
* `slide-in-right`
* `slide-in-bottom`
* `slide-in-left`
* `slide-in-blurred-top`
* `slide-in-bck-center`
* `slide-in-blurred-bottom` <mark style="color:green;background-color:green;">popular</mark>&#x20;
* `puff-in-center`
* `flip-in-hor-top`
* `flip-in-hor-bottom`
* `swing-in-bottom-fwd`
* `bounce-in-bottom`
* `scale-in-center`
  {% endtab %}
  {% endtabs %}

### Scroll Overlay

{% tabs %}
{% tab title="Pro (>= 5.7.0)" %}

### Scroll Overlay

To do this, select a **block (1)** or section, open the **Animations & Effects (2)** tab and activate the **Scroll Overlay (3)** option.

{% hint style="warning" %}
Once **Scroll Overlay (1)** is activated, no animation can be selected, and vice versa. With Scroll Overlay enabled, the layer is fixed, so no entry animation would start.
{% endhint %}

<figure><img src="https://2915610672-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4i6VN0FeNAgRFLwVM2Cr%2Fuploads%2FTCqytMAtX3bHf7Hc1MZY%2Fdocs-en-config-shopping-experiences-scroll-overlay.webp?alt=media&amp;token=29c6547b-63d4-4845-8b81-7cb21ebc948f" alt=""><figcaption></figcaption></figure>

Example:

<figure><img src="https://2915610672-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4i6VN0FeNAgRFLwVM2Cr%2Fuploads%2FKeyrTkeKZVgXcu5qb1MV%2Fdocs-de-storefront-scroll-overlay-animation-example.gif?alt=media&amp;token=20f5bbb5-6167-4abf-a025-7312674da9b7" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Cloud / Pro (< 5.7.0)" %}
To initiate the effect add the class `zen-scroll-overlay` .

Example:

<figure><img src="https://2915610672-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4i6VN0FeNAgRFLwVM2Cr%2Fuploads%2FKeyrTkeKZVgXcu5qb1MV%2Fdocs-de-storefront-scroll-overlay-animation-example.gif?alt=media&amp;token=20f5bbb5-6167-4abf-a025-7312674da9b7" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}
