# Entrance animations

> Entrance animations play when a given element scrolls into view and allow you to draw attention to important parts of your page or content.

Source: https://www.zenplates.co/documentation/utilities/entrance-animations/ (Utilities › Effects)

## Examples

Entrance animations can be applied to any element by adding the `data-animation` attribute to an element.  If you would like the animation to play on a loop, add the `infinite` class name.

Each of the examples below can be replayed by clicking on them.

These effects are part of the animations and transitions stylesheet which is included in every theme by default. If you'd like to remove the styles associated with these animations you can do so by removing the following line from the `document_head.hbs` template:

```html
<link rel="stylesheet" href="{{asset 'extension-animations.min.css'}}">
```

The associated JavaScript is added by the following line in the `footer.hbs` template:

```html
<script type="text/javascript" src="{{asset 'extension-animations.min.js'}}" defer></script>
```
