Home  >  Article  >  Web Front-end  >  10 CSS3 animation libraries worth collecting

10 CSS3 animation libraries worth collecting

PHPz
PHPzOriginal
2017-04-04 14:16:181807browse

Nowadays, in the design of websites and apps, pays more and more attention to user experience, and excellent animation effects can make your application more interactive, thus attracting more users to use it. I usually add some simple and consistent animations to my website. The technology I use is SASS+bourbon to generate those animations## based on CSS3. #The effect comes. But if you are not familiar with defining dynamic effects in CSS3, or want to introduce dynamic effects in your application in a simpler and more direct way, you can refer to and use the following 10 excellent dynamic effect libraries (tools).


1. Animate.css

Animate.css is a CSS3 animation library that I prefer. It is very suitable for those who are not familiar with

CSS3 animation effects. Friends who want to introduce dynamic effects to the website or H5-based APP they have made. Because you only need to add the animation names predefined in Animate.css to the elements that need to be animated. For example, the common ones: bounce, flash, fadeIn, fadeOut, etc. There are 75 different dynamic effects in total, which can fully meet your basic needs.

10 CSS3 animation libraries worth collecting


## Of course, there are also some usage

precautions

for this library. For example, you’d better add After adding an animation style to complete the animation, remove the animation style immediately. In addition, you also need to make some adjustments to the duration of the animation, vibration amplitude, etc. Because, I feel that the animation in its default settings is too fast and intense. Animate.css has provided detailed documentation to tell you how to make these adjustments.

2. Bounce.
js

Bounce.js is a small tool that can generate CSS3 animations. It uses

JavaScript

Written by, it provides a web interface. You can add a component and then select animation types including Scale, Translate, Rotate, and Skew, and then set their parameters respectively. When the effect you want is achieved, you can This animation is exported as CSS so you can apply it to your app.

10 CSS3 animation libraries worth collecting


##3. CSS3 Animation


CSS3 Animation is a very simple and easy-to-use animation. Effect tool, you can control your animation effects by dragging some

progress bars

in the simple graphical interface it provides. The generated CSS code will automatically be displayed in a text box below. You can Copy and paste it into your application to use directly.

10 CSS3 animation libraries worth collecting


4. CSS Animate


If you feel that the above tools are not enough If you want dynamic effects, then take a look at the tool CSS Animate. It allows you to set more animation parameters, such as you can set the coordinates, size, and transparency of the start and end states of the animation at the same time, so that you can make more complex animations. .

10 CSS3 animation libraries worth collecting
##5.Magic Animations

Magic Animations is very similar to Animate.css, too A CSS library with a series of predefined animations. But the biggest difference from Animate.css may be that the animations it defines are more dazzling and cooler. If your website is also very trendy, you can consider using this CSS animation library.


10 CSS3 animation libraries worth collecting
6.AniJS

AniJS is an animation library controlled by JavaScript. It allows you to define animations through its chaining syntax. For example, in the following example: this element will flip along the Y axis when the user clicks.

<p data-anijs="if: click, do: flipInY, to: .container-box"></p>

10 CSS3 animation libraries worth collecting
7.Single Element CSS Spinners

We often need some animations To express that the system is in the process of loading or processing data. Single Element CSS Spinners, a project on
Git

Hub, provides a set of very beautiful CSS3 animations that can be used for loading.


8.Snabbt.js

Sanbbt.js是我很喜欢的一个动效库,它非常小巧只有5K,所以可以被用在移动应用中。而且它也支持链式语法,你可以很方便地写出复杂的动效组合。

snabbt(element, {
  position: [200, 0, 0],
  easing: function(value) {
    return value + 0.3 * Math.sin(2*Math.PI * value);
  }
}).snabbt({
  position: [0, 0, 0],
  easing: 'easeOut'
});

10 CSS3 animation libraries worth collecting



9.Odometer

Odometer是用来给数字作动效的,比如通过它你可以很好地呈现网站人数的增加,倒计时等与数字相关的动画效果。

10 CSS3 animation libraries worth collecting



10.Hover.css

Hover.css提供了大量的Hover效果,包括2D变换,图标变换,背景变换等等。而且几乎可以应用于所有元素,包括链接,按钮,logo,SVG甚至图片等等。

10 CSS3 animation libraries worth collecting

The above is the detailed content of 10 CSS3 animation libraries worth collecting. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn