Answers for "css animation frameworks"

CSS
20

css animation

<style>
.my-element {
  width: 100%;
  height: 100%;
  animation: tween-color 5s infinite;
}

@keyframes tween-color {
  0% {
    background-color: red;
  }
  50% {
    background-color: green;
  }
  100% {
    background-color: red;
  }
}

html,
body {
  height: 100%;
}
<style>

<body>
	<div class="my-element"></div>
</body>
Posted by: Guest on May-09-2020
20

css animation

<style>
.my-element {
  width: 100%;
  height: 100%;
  animation: tween-color 5s infinite;
}

@keyframes tween-color {
  0% {
    background-color: red;
  }
  50% {
    background-color: green;
  }
  100% {
    background-color: red;
  }
}

html,
body {
  height: 100%;
}
<style>

<body>
	<div class="my-element"></div>
</body>
Posted by: Guest on May-09-2020
10

css animation library

/* Answer to: "css animation library" */

/*
  There are an awful lot of libraries that want to help you animate
  things on the web. These aren’t really libraries that help you
  with the syntax or the technology of animations, but rather are
  grab-and-use as-is libraries. Want to apply a class like
  “animate-flip-up” and watch an element, uhhh, flip up? These are
  the kind of libraries to look at.

  1. Animista (personal favourite)
  2. Animate.css
  3. Tachyons
  4. Infinite
  5. Motion UI
  6. Micron
  7. Vivify
  9. Hover.css
  10. AllAnimationCss3
  11. Magic Animations CSS3
  12. It's Tuesday
  13. CHS
  14. ReboundGen
  15. CSShake
  16. Motion CSS
  17. cssanimation.io
  18. WickedCSS
  19. Woah.css
  20. Obnoxious.css
  21. Hexa
  22. Mimic.css

  For more information and direct links to the website of these
  libraries, go to:
  https://css-tricks.com/css-animation-libraries/
*/
Posted by: Guest on May-01-2020
10

css animation library

/* Answer to: "css animation library" */

/*
  There are an awful lot of libraries that want to help you animate
  things on the web. These aren’t really libraries that help you
  with the syntax or the technology of animations, but rather are
  grab-and-use as-is libraries. Want to apply a class like
  “animate-flip-up” and watch an element, uhhh, flip up? These are
  the kind of libraries to look at.

  1. Animista (personal favourite)
  2. Animate.css
  3. Tachyons
  4. Infinite
  5. Motion UI
  6. Micron
  7. Vivify
  9. Hover.css
  10. AllAnimationCss3
  11. Magic Animations CSS3
  12. It's Tuesday
  13. CHS
  14. ReboundGen
  15. CSShake
  16. Motion CSS
  17. cssanimation.io
  18. WickedCSS
  19. Woah.css
  20. Obnoxious.css
  21. Hexa
  22. Mimic.css

  For more information and direct links to the website of these
  libraries, go to:
  https://css-tricks.com/css-animation-libraries/
*/
Posted by: Guest on May-01-2020
8

css animation

<style>

  #ball {
    width: 100px;
    height: 100px;
    margin: 50px auto;
    position: relative;
    border-radius: 50%;
    background: linear-gradient(
      35deg,
      #ccffff,
      #ffcccc
    );
    /*"Call" the animation "function" */
    animation-name: bounce;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-delay: 2s;
    /* Normal, reverse, alternate(between the fwd and back) 
    and alternate-reverse */
    animation-direction: reverse; 
    /* Ease is deafault, use cubic-bezier(n,n,n,n) for custom */
    animation-timing-function: linear; 
    
    /* if you want something to display from hidden
       set the opacity to 0 and in the keyframe steps bring
   	   the opacity to 1 gradually to stop it flashing */
  }
	
  /* The animation "bounce" */
  @keyframes bounce{
    /* start */
    0% {
      top: 0px;
    }
    /* step (you can add multiple incremental steps from 1-100) */
    50% {
      top: 249px;
      width: 130px;
      height: 90px;
    }
    /* end (you can count down from 100 to 0 too) */
    100% {
      top: 0px;
    }
  }
</style>

<div id="ball"></div>
Posted by: Guest on April-05-2020
8

css animation

<style>

  #ball {
    width: 100px;
    height: 100px;
    margin: 50px auto;
    position: relative;
    border-radius: 50%;
    background: linear-gradient(
      35deg,
      #ccffff,
      #ffcccc
    );
    /*"Call" the animation "function" */
    animation-name: bounce;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-delay: 2s;
    /* Normal, reverse, alternate(between the fwd and back) 
    and alternate-reverse */
    animation-direction: reverse; 
    /* Ease is deafault, use cubic-bezier(n,n,n,n) for custom */
    animation-timing-function: linear; 
    
    /* if you want something to display from hidden
       set the opacity to 0 and in the keyframe steps bring
   	   the opacity to 1 gradually to stop it flashing */
  }
	
  /* The animation "bounce" */
  @keyframes bounce{
    /* start */
    0% {
      top: 0px;
    }
    /* step (you can add multiple incremental steps from 1-100) */
    50% {
      top: 249px;
      width: 130px;
      height: 90px;
    }
    /* end (you can count down from 100 to 0 too) */
    100% {
      top: 0px;
    }
  }
</style>

<div id="ball"></div>
Posted by: Guest on April-05-2020

Browse Popular Code Answers by Language