CSS Animations
animate.css is a bunch of cool, fun, and cross-browser animations for you to use in your projects. Great for emphasis, home pages, sliders, and general just-add-water-awesomeness.
Page Demo Plugin WebsiteTo use animate.css in your website, simply drop the stylesheet into your document's <head>
, and add the class .animated
to an element, along with any of the animation name given below.
Usage
You can use these animation with either CSS classes or SCSS mixin.
Add classes animated
and the animation name (one of above mentioned) to the element you want to animate. You may also want to include the class infinite
for an infinite loop.
<!-- Basic -->
<div class="animated zoomIn">
...
</div>
<!-- Infinite -->
<div class="animated zoomIn infinite">
...
</div>
Material Admin includes a SCSS mixin which may help you when defining animations on CSS property level.
This mixin requires 2 parameters: animation-name
and animation-duration
.box {
@include animated(fadeIn, 500ms);
}
Likewise, you can include any of the above given animation name with a duration in either second (s) or millisecond (ms).
Requirements:
/scss/inc/_mixins.scss
/vendors/animate.css/animate.min.css