“animate.css” Réponses codées

CSS Move Animation

article {
    animation-name            : displaceContent;
    animation-duration        : 1s;
    animation-delay           : 4s;
    animation-iteration-count : 1;
    animation-fill-mode       : forwards;
}
@keyframes displaceContent {
    from { transform : translateY(0em) }
    to   { transform : translateY(3em) } /* slide down to make room for advertisements */
}
Inexpensive Ibis

animate.css

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

animate.css

$ yarn add animate.css
Bored Bee

animate.css

$ npm install animate.css --save
Yucky Yak

animate.css

.my-element {
  display: inline-block;
  margin: 0 0.5rem;

  animation: bounce; /* referring directly to the animation's @keyframe declaration */
  animation-duration: 3s; /* don't forget to set a duration! */
}
Terrible Toad

animate.css

yarn add animate.css // or npm install animate.css --save
cadot.eu

Réponses similaires à “animate.css”

Parcourir les réponses de code populaires par langue

Parcourir d'autres langages de code