A beautiful Cool web page can not be separated from the animation effect embellishment. Now there are a lot of animation libraries to choose from, here I will introduce a simple and useful animation library ANIMATE.CSS.
The ANIMATE.CSS online effect shows all animation effects with an online Web page, so we can see the actual animation by selecting an effect name from the drop-down list. You can test these animations directly on this website.
Once the test is complete, we can add it to our project. We can either use bower or NPM to download.
Bower Install animate.css--savenpm install animate.css--save
You can also use CDNJS, and then reference the file in the page animate.css
.
Finally, add animated
classes and corresponding animation classes to the elements you want to animate. For example, the following applies a rebound animation effect. You can save the code directly as an HTML file, and then you can see the effect in the browser.
<! DOCTYPE html>
In this way, the animation library is finished, if you have your own project, you can consider to let some elements have animation effect, make the page more lively.
A beautiful Cool web page can not be separated from the animation effect embellishment. Now there are a lot of animation libraries to choose from, here I will introduce a simple and useful animation library ANIMATE.CSS.
The ANIMATE.CSS online effect shows all animation effects with an online Web page, so we can see the actual animation by selecting an effect name from the drop-down list. You can test these animations directly on this website.
Once the test is complete, we can add it to our project. We can either use bower or NPM to download.
Bower Install animate.css--savenpm install animate.css--save
You can also use CDNJS, and then reference the file in the page animate.css
.
Finally, add animated
classes and corresponding animation classes to the elements you want to animate. For example, the following applies a rebound animation effect. You can save the code directly as an HTML file, and then you can see the effect in the browser.
<! DOCTYPE html>
In this way, the animation library is finished, if you have your own project, you can consider to let some elements have animation effect, make the page more lively.