Website with animation with CSS only
In some cases it is needed to start animations on a website. If you are looking for some code you will find a lot of JavaScript solutions, but in my mind this is not the right way. JavaScript should be there for the logic, getting data and working with it and not for UI stuff. So there needs to be a solution without JavaScript. In this case: a div with background-color.. the color should change, after it is displayed. 1 2 3 4 <div class= "container1" > <div class= "container2" > </div> </div>