본문 바로가기

IT/Develop

Animate.css

 

https://daneden.github.io/animate.css/

 

Animate.css

 

daneden.github.io

 

 

https://github.com/daneden/animate.css

 

daneden/animate.css

🍿 A cross-browser library of CSS animations. As easy to use as an easy thing. - daneden/animate.css

github.com

 

 

Usage

To use animate.css in your website

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

or CDN

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

 

 

Full example:

<h1 class="animated infinite bounce delay-2s">Example</h1>

 

It's possible to change the duration of your animations, add a delay or change the number of times that it plays:

.yourElement {
  animation-duration: 3s;
  animation-delay: 2s;
  animation-iteration-count: infinite;
}