Skip to content
Advertisement

Tag: fade

Fade in element by setting opacity with Javascript

I have decided to create a fade in animation effect using vanilla javascript. This is the code for my fade in effect: What I am trying to do is incrementally increasing the opacity of the #about div from 0 to 1 by running through a for loop which is supposed to wait 100 miliseconds for every iteration of the loop

Advertisement