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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?
去到頂部