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
Loading
AnimationClassDescription
Fade in.anim-fade-inUsed to fade in an element on the page. This will run once when the element is revealed.
Fade out.anim-fade-outUsed to fade out an element on the page. This will run once when the element is revealed.
Fade up.anim-fade-upUsed 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 down.anim-fade-downUsed 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 in.anim-scale-inWill scale the element in. This is useful on menus when you want them to appear more friendly.
Grow x.anim-grow-xWill grow an element width from 0-:100: real quick.
Pulse.anim-pulseWill pulse an element infinitely.
Hover.anim-hover-growWill increase the scale of the element upon hover.
Rotate.anim-rotateWill 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.