https://github.com/joshuapekera/animate
A library of CSS3 keyframe animations authored using LESS
https://github.com/joshuapekera/animate
animation css less
Last synced: about 1 month ago
JSON representation
A library of CSS3 keyframe animations authored using LESS
- Host: GitHub
- URL: https://github.com/joshuapekera/animate
- Owner: joshuapekera
- Created: 2012-11-20T18:43:19.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2017-09-06T04:17:37.000Z (over 7 years ago)
- Last Synced: 2025-03-22T15:04:19.468Z (about 1 month ago)
- Topics: animation, css, less
- Language: HTML
- Homepage:
- Size: 4.52 MB
- Stars: 44
- Watchers: 6
- Forks: 19
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Animate
* [Website](http://lab.joshuapekera.com/animate)
* [Documentation](https://www.pyrocms.com/documentation)
* [License](http://pyrocms.com/legal/license)
* Version: 1.0## Developers
* Original CSS version by [@daneden](http://twitter.com/_dte)
* LESS port by [@joshuapekera](http://twitter.com/joshuapekera)#Animate.less
*CSS animation*`animate.less` 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.
Animate.less is a faithful port of the amazing [animate.css](https://github.com/daneden/animate.css) by @daneden. If LESS isn't your css preprocessor of choice, be sure to check the original library out.
##Usage
To use animate.less in your website, simply drop the stylesheet into your document's ``, and add the class `animated` to an element, along with any of the animation names.You can do a whole bunch of other stuff with animate.less when you combine it with jQuery or add your own CSS rules. Dynamically add animations using jQuery with ease:
```javascript
$('#yourElement').addClass('animated bounceOutLeft');
```You can change the duration of your animations, add a delay or change the number of times that it plays!
```css
#yourElement {
-vendor-animation-duration: 3s;
-vendor-animation-delay: 2s;
-vendor-animation-iteration-count: infinite;
}
```*Note: be sure to replace "vendor" in the CSS with the applicable vendor prefixes (webkit, moz, ms, o)*
*Note: Safari in Mountion Lion (OS 10.8) has a display glitch with the Flippers. They may not appear at all until the animation is completed, or the page may have other artifacting. One fix is to add overflow: hidden to the parent div.*
*Note: Add `overflow-x:hidden` to parent elements if they have a `width:100%` and you are using bounceInLeft or bounceInRight on one or more child elements. This will avoid an appearing and dissappearing horizontal scroll bar in the footer.
##License
Animate.less is licensed under the ☺ license. (http://licence.visualidiot.com/)##Learn more
You can learn more about animate.less over at http://lab.joshuapekera.com/animate##Cheat Sheet
####Attention seekers:
flash
bounce
shake
tada
swing
wobble
wiggle
pulse####Flippers (currently Webkit, Firefox, & IE10 only):
flip
flipInX
flipOutX
flipInY
flipOutY####Fading entrances:
fadeIn
fadeInUp
fadeInDown
fadeInLeft
fadeInRight
fadeInUpBig
fadeInDownBig
fadeInLeftBig
fadeInRightBig####Fading exits:
fadeOut
fadeOutUp
fadeOutDown
fadeOutLeft
fadeOutRight
fadeOutUpBig
fadeOutDownBig
fadeOutLeftBig
fadeOutRightBig####Bouncing entrances:
bounceIn
bounceInDown
bounceInUp
bounceInLeft
bounceInRight####Bouncing exits:
bounceOut
bounceOutDown
bounceOutUp
bounceOutLeft
bounceOutRight####Rotating entrances:
rotateIn
rotateInDownLeft
rotateInDownRight
rotateInUpLeft
rotateInUpRight####Rotating exits:
rotateOut
rotateOutDownLeft
rotateOutDownRight
rotateOutUpLeft
rotateOutUpRight####Lightspeed:
lightSpeedIn
lightSpeedOut####Specials:
hinge
rollIn
rollOut