CSS ANIMATIONS



What are CSS Animations?

How do you construct them?

What are @keyframes?

Popular Uses







Tutorial for an Gradient Animation

  1. Open a CSS page

  2. Create a body element and set its background property to "linear-gradient"

  3. Determine the slant percentage (angle of the colors) and the various hues of the gradient within the background section

  4. Create the animation property, and set the time element to the duration of the gradient animation loop

  5. Set the background-size property with percentages to account for responsive web design

  6. Add and adjust the keyframes depending on how rapidly you want the gradient to progress

  7. (Tweak with any percentages or keyframe values accordingly)