RT Josh W. Comeau
🔥😮 CSS variables can be used *within CSS keyframe animations*!
Here, 3 boxes use the same “bounce” animation, but bounce by different amounts by each defining their own “--bounce-height” value 😄
Code:
https://codepen.io/joshwcomeau/pen/JjNaWRd?editors=1100