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.
Attention seekers
Show
Bounce
Flash
Head shake
Jello
Pulse
Rubber band
Shake
Swing
Tada
Wobble
Bouncing
Bounce in
Bounce in up
Bounce in right
Bounce in down
Bounce in left
Fading
Fade in
Fade in up
Fade in right
Fade in down
Fade in left
Flipping
Flip in X
Flip in Y
Rotating
Rotate in up left
Rotate in up right
Rotate in down left
Rotate in down right
Zooming
Zoom in
These effects are part of the Animations and Transitions extension 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:
<link rel="stylesheet" href="{{asset 'style-entrance-animations.min.css'}}">
The associated JavaScript is added by the following line in the footer.hbs
template:
<script type="text/javascript" src="{{asset 'script-animations.min.js'}}" defer></script>