Skip to content

Animations

Animations are reusable animation classes that you can use to emphasize an element. All of these animations will animate if you toggle their visibility using the "Toggle" button.
View in Storybook
AnimationDescription
Fade inThe .anim-fade-in class is used to fade in an element on the page. This will run once when the element is revealed.
Fade outThe .anim-fade-out class is used to fade out an element on the page. This will run once when the element is revealed.
Fade upThe .anim-fade-up class is used to reveal an element on the page by sliding it up from below the fold. You should use this in a container with overflow: hidden; or on the bottom of the page.
Fade downThe .anim-fade-down class is used to slide an element down hiding it. You should use this in a container with overflow: hidden; or on the bottom of the page.
Scale inThe .anim-scale-in class will scale the element in. This is useful on menus when you want them to appear more friendly.
Grow xThe .anim-grow-x class will grow an element width from 0-:100: real quick.
PulseThe .anim-pulse class will pulse an element infinitely.
Hover animationThe .anim-hover-grow class will increase the scale of the element upon hover.
RotationThe .anim-rotate class will rotate the element indefinitely around the coordinate specified by transform-origin. Most elements have a default of transform-origin: 50% 50% and will rotate around the center.