Where can use? some example ..!
How to use
  1. By adding clases

    Add the class animate__animated to an element, along with any of the animation names (don't forget the animate__ prefix!):

    <h5> class="animate__animated animate__bounce">An animated element </h5>

    Utility Classes

    Animate.css provides the following delays:

    animate__delay-2s, animate__delay-3s, animate__delay-4s, animate__delay-5s

    Slow, slower, fast, and Faster classes

    animate__slow, animate__slower, animate__fast, animate__faster

    Repeating classes

    animate__repeat-1, animate__repeat-2, animate__repeat-3, animate__infinite
  2. Using @keyframes

    Even though the library provides you a few helper classes like the animated class to get you up running quickly, you can directly use the provided animations keyframes. This provides a flexible way to use Animate.css with your current projects without having to refactor your HTML code.

    Example:

    .my-element { display: inline-block; margin: 0 0.5rem; animation: bounce; /* referring directly to the animation's @keyframe declaration */ animation-duration: 2s; /* don't forget to set a duration! */ }

  3. CSS Custom Properties (CSS Variables)

    Animate.css uses custom properties (also known as CSS variables) to define the animation's duration, delay, and iterations. This makes Animate.css very flexible and customizable. Need to change an animation duration? Just set a new value globally or locally.

    Example:

    /* This only changes this particular animation duration */ .animate__animated.animate__bounce { --animate-duration: 2s; } /* This changes all the animations globally */ :root { --animate-duration: 800ms; --animate-delay: 0.9s; }

尼亚加拉瀑布游戏攻略联盟

尼亚加拉瀑布游戏攻略联盟致力于为玩家提供权威、全面的游戏入门玩法攻略。我们汇集各类游戏策略与技巧,让你在享受游戏的同时取得更好的成绩。无论是新手还是老玩家,都能在这里找到实用的信息和建议。加入我们,让你的游戏之旅更加精彩与顺利,了解最新的游戏动态与玩法更新,掌握先锋攻略,从而提升你的游戏体验