Repaintless.css is a lightweight, high-performance CSS3 animation library. Repaintless.css uses special methods to create element animations without page re-painting, so that it has higher performance than other CSS animation libraries. You can use boweror npmto install repaintless.css ....,.
Brief tutorial
Repaintless.css is a lightweight, high-performance CSS3 animation library. Repaintless.css uses special methods to create element animations without page re-painting, so that it has higher performance than other CSS animation libraries.
Install
You can use boweror npmto install repaintless.css.
$ bower install repaintless$ npm install repaintless
Usage
Use the css3animation library to import the repaintless.css file to the page.
HTML Structure
To make an element animated, you need to add element-animated class to the element. This class must be added, use the second class to specify the animation type you need.
I tremble!
By default, the animation duration is 1 second. You can use class short to specify the animation time as 0.5 seconds and long as 2 seconds. You can add infinite class if you need to do an infinite animation.
I am quick!
I am slooow...
I will do that forever to drive you crazy!
Animation type
Repaintless.css all available animation types are as follows. Some animations are continuous animations.
Slide-from-top
Slide-from-bottom
Slide-from-left
Slide-from-right
Slide-from-right-bottom
Slide-from-right-top
Slide-from-left-bottom
Slide-from-left-top
Slide-top-bottom (looped)
Slide-left-right (looped)
Tremble (looped)
Fade-in
Fade-out
Pulsate (looped)
Rotate
Github address for Repaintless.css animation library: https://github.com/szynszyliszys/repaintless
Source: http://www.htmleaf.com/css3/css3donghua/201603073189.html