Animate.css

一个跨浏览器的 CSS 动画库。简单易用。「A cross-browser library of CSS animations. As easy to use as an easy thing.」

Github星跟踪图

Animate.css GitHub release CDNJS Build Status devDependencies Status chat npm version

We need your help! animate.css v4 is in the work with lots of improvements and some breaking changes, including CSS custom properties support (aka CSS variables) and classes prefix for a safer use. We need your feedback! You can follow the development on the dev branch and give your feedback on the issue tracker.
Every feedback is welcome!

Just-add-water CSS animation

animate.css 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.

Installation

Install via npm:

$ npm install animate.css --save

or yarn:

$ yarn add animate.css

Usage

To use animate.css in your website, simply drop the stylesheet into your document's <head>, and add the class animated to an element, along with any of the animation names. That's it! You've got a CSS animated element. Super!

<head>
  <link rel="stylesheet" href="animate.min.css">
</head>

or use a CDN hosted version by CDNJS

<head>
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7.2/animate.min.css">
</head>

Animations

To animate an element, add the class animated to an element. You can include the class infinite for an infinite loop. Finally you need to add one of the following classes to the element:

概览

名称与所有者animate-css/animate.css
主编程语言CSS
编程语言CSS (语言数: 4)
平台Cross-platform, Linux, Mac, Web browsers, Windows
许可证Other
发布数29
最新版本名称v4.1.1 (发布于 2020-09-07 12:20:17)
第一版名称v2.0 (发布于 2013-08-16 15:27:23)
创建于2011-10-12 10:07:38
推送于2024-04-24 18:05:31
最后一次提交
星数79.8k
关注者数2.3k
派生数16.2k
提交数664
已启用问题?
问题数861
打开的问题数20
拉请求数315
打开的拉请求数4
关闭的拉请求数550
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?
去到顶部