css-animations-and-transitions

CSS Animations and Transitions

For the Muze Dev Day, I want to make a simple example for each CSS animation and transition.

Animatable CSS properties

Certain CSS properties can be animated using CSS Animations or CSS Transitions. Animation means that their values can be made to change gradually over a given amount of time.

Source: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_animated_properties

Besides all, these properties are:

Transitions

Starting with transitions, I have two axis:

  1. CSS properties that can be animated
  2. CSS transition properties

The transition CSS property is shorthand for:

Easing functions

<time>

Source: https://developer.mozilla.org/en-US/docs/Web/CSS/time