>
You Can Run a CSS Animation on Page Load Without Using Any JavaScript
WEB
There are three key advantages to CSS animations over traditional script-driven animation:
WEB
- They are more performant
- They are easier to control
- They are more versatile
So, how can we do that with just some simple CSS?
What are we going to build.?
For this tutorial, we are going to build a simple animation that will make a div element fade in and out on page load.