preface

Like it, make it a habit

1.Animista

Description :** Generate CSS animation online

! [](https://pic3.zhimg.com/80/v2-d970a255ea5f51e7a93ebbb5f6c97e52_720w.jpg)

Animista is an online animation generator and animation library that provides us with the following features

In the process of learning the web front end, it is inevitable to encounter a lot of problems, these problems may bother you for a long time, so I have a Web development learning exchange group (545667817), which are digging gold friends, and sorted out a most comprehensive front-end learning materials, from the most basic HTML+CSS+JS to mobile HTML5 project actual combat learning materials have sorted out, want to learn can apply to join, we learn from each other, communicate with each other, common progress, share different learning materials every day!

1. Choose different animations

We can select the animation type we want (e.g., entrance/exist), and in addition to selecting an animation (e.g., scale-in), we can even select different presentation effects for that animation (e.g., scale-in-Right).

! [](https://pic2.zhimg.com/80/v2-fa443a0ec2eb8b858adebd6256061f81_720w.jpg)

2. Custom

Animista also provides a feature that allows us to customize certain parts of the animation, for example

  • duration
  • delay
  • direction

Even better, you can select the object to animate:

! [](https://pic2.zhimg.com/80/v2-e3192abdb765128beaa01ddb34e3219b_720w.jpg)

3. Generate CSS code

After selecting the animation that suits your needs, we can get the code directly from the website, or even compress it:

! [](https://pic4.zhimg.com/80/v2-1da8069b08df6f56c7c7225fbe65e4fa_720w.jpg)

4. Download the code

Another useful feature is that you can bookmark your favorite animations and download them together, or you can choose to copy the code of those animations together.

! [](https://picb.zhimg.com/80/v2-b94019b212597c79af46f18086503c81_720w.jpg)

2. Animate CSS

Web site address: daneden. Making. IO/anim…

** Complete CSS3 animation library

! [](https://picb.zhimg.com/80/v2-38c38439c76dd2acf07f399e3135af9a_720w.jpg)

I think most people know this without introduction. The Animate CSS is probably one of the best known animation libraries. Here is a brief description of its use:

Use 1.

First, you have to add the class Animated on the always needed animation element, and then the name of the animation.

<div class="animated slideInLeft"></div>
Copy the code

If we want the animation to last forever, we can add infinite class.

Add animations with JS:

document.querySelector('.my-element').classList.add('animated', 'slideInLeft')
Copy the code

Add animations via JQ:

$(".my-element").addClass("animated slideInLeft")
Copy the code

2. Other functions

The Animate CSS provides basic classes to control the delay and speed of animations.

delay

You can add the Delay class to delay the playback of the animation.

<div class="animated slideInLeft delay-{1-5}"><div>
Copy the code

speed

We can also control the animation speed by adding one of the classes listed below.

! [](https://pic3.zhimg.com/80/v2-b73dbbe9b6dbb7db7314638d92d1d053_720w.jpg)
<div class="animated slideInLeft slow|slower|fast|faster"><div>
Copy the code

3. Vivify

Website address: vivify.mkcreative.cz/

A more rich CSS animation library

! [](https://pic3.zhimg.com/80/v2-b3cf94c42485c0cbf16ab37ec7c5ba8d_720w.jpg)

Vivify is an animation library that can be seen as an enhanced version of the Animate CSS. They work exactly the same, with most of the Animate CSS classes and some extensions.

<div class="vivify slideInLeft"></div>
Copy the code

Using JS mode:

document.querySelector('.my-element').classList.add('vivify', 'slideInLeft')
Copy the code

Using JQ mode:

$(".my-element").addClass("vivify slideInLeft")
Copy the code

Like Animate CSS, Vivify provides classes to control the duration and delay of animations.

Delay and duration classes are available at the following intervals:

<div class="delay|duration-{100|150|200|250... 1000 | 1250 | 1500 | 1750... 10750}"></div>Copy the code

4. Magic Animations CSS3

Website address: www.minimamente.com/p…

Magic CSS3 Animations Magic CSS3 Animations is a package of CSS3 Animations with special effects that users can use freely in web projects.

! [](https://pic4.zhimg.com/80/v2-8c61b0d1be5b759d359d3c1848de93f7_720w.jpg)

This animation library has some very beautiful and smooth animations, especially in 3D. There’s nothing to say. Try it yourself.

<div class="magictime fadeIn"></div>
Copy the code

Using JS mode:

document.querySelector('.my-element').classList.add('magictime', 'fadeIn')
Copy the code

Using JQ mode:

$(".my-element").addClass("magictime fadeIn")
Copy the code

5. cssanimation.io

! [](https://pic4.zhimg.com/80/v2-d5d0b5fbb10ea6f3d88f1499bf0db92d_720w.jpg)

Web site address: cssanimation. IO/index…

Cssanimation.io is a bunch of different animations, about 200 in all, which is pretty powerful. If you can’t find the animation you need here, it’s going to be hard to find anywhere else.

It works in a similar way to Animista. For example, you can select an animation and get the code directly from the site, or you can download the entire library.

! [](https://pic4.zhimg.com/80/v2-eae51cc172ea436ba7a9f3a4753bd0ae_720w.jpg)

usage

Adds cssAnimation {animation_name} to the specified element.

<div class="cssanimation fadeIn"></div>
Copy the code

Use JS

document.querySelector('.my-element').classList.add('cssanimation','fadeIn')
Copy the code

The use of JQ

$(".my-element").addClass("cssanimation fadeIn")
Copy the code

You can also add an Infinite class so that the animation can play in a loop.

<div class="cssanimation fadeIn infinite"></div>
Copy the code

In addition, **cssanimation.io** also provides the function of animation letters. To use this, we import the letterAnimation.js file and then add le {animation_name} to our text element.

<div class="cssanimation leSnake"></div>
Copy the code

To animate the letters in order, add the Sequence class. To animate them randomly, add the Random class.

<div class="cssanimation leSnake {sequence|random}"></div>
Copy the code

Sequence

! [](https://pic4.zhimg.com/v2-9a9f2ac59684c41b339885e87f556be7_b.jpg)

Random

! [](https://picb.zhimg.com/v2-41041a7483715aef2227f9abbb51b976_b.jpg)

6.Angrytools

Website address: angrytools.com/css/an…

If you use different generators, Angrytools is actually a collection that also includes CSS animation generators.

It may not be as complicated as Animista, but I think this is pretty good too. The site also provides some custom animation features, such as the duration or latency of the animation.

But what I like is that we can add custom KeyFrames to its presentation timeline, and then code directly into it. Alternatively, you can edit existing ones.

! [](https://pic1.zhimg.com/80/v2-76642c3ad556b82e42f40f5ac7cc8294_720w.jpg)

When we’re done, we can get the full animation code, or we can download it.

7.Hover.css

Ianlunn.github. IO /Hover/

Hover. CSS is a collection of CSS animations that, unlike the above animations, fire every time you Hover an element.

A set of CSS3 supported hover effects that can be applied to links, buttons, logos, SVG, featured images, and more.

* * usage

It’s very simple: just add the name of the class to the element, for example

<button class="hvr-fade">Hover me! </button>Copy the code

8.WickedCSS

Web site address: kristofferandreasen. Gi…

WickedCSS is a small CSS animation library that doesn’t have a lot of animation variations, but at least has a lot of variations. Most of them are the basics we’re already familiar with, but they’re really clean.

Its use is as simple as adding the name of the animation to the element.

<div class="bounceIn"></div>
Copy the code

* * use JS

document.querySelector('.my-element').classList.add('bounceIn')
Copy the code

* * use JQ

$(".my-element").addClass("bounceIn")
Copy the code

! [](https://pic2.zhimg.com/80/v2-729cba9accefd476e9ba965f7af3608e_720w.jpg)

9.Three Dots

Github. IO/Three…

Three Dots is a set of CSS-loaded animations that consist of Three points that consist of a single element.

* * usage

Simply create a div element and add the name of the animation

<div class="dot-elastic"></div>
Copy the code

10.CSShake

Elrumordelaluz. Github…

! [](https://pic1.zhimg.com/80/v2-6b8c47a5b8ff33d7896814b39d886e89_720w.jpg)

As the name suggests, CSShake is a CSS animation library that contains different types of vibrating animations.

* * usage

Add shake {animation name} to the element.

<div class="shake shake-hard"></div>
Copy the code

Use JS

document.querySelector('.my-element').classList.add('shake','shake-hard')
Copy the code

The use of JQ

$(".my-element").addClass("shake shake-hard")
Copy the code

Communication:

For every front-end partners, there are want to learn web front-end, or change careers, or college students, and want to improve their ability in the work, is learning partners welcome to join the learning (545667817).

! [](https://picb.zhimg.com/80/v2-ef0734a1605ac74bf1eeab12a9cbe162_720w.jpg)
! [](https://pic4.zhimg.com/80/v2-0c06e405012d80404a50ba20fe6f0526_720w.jpg)