2 ms·
How to Create a Fade Effect in JavaScript
This is JavaScript tutorial describes how one can create a fade effect using timed events.
The tutorial focuses on the use of setTimeout, and pure CSS to easily create a realistic fade effect, the effect can easily be used as a foundation for dissolve transition effects and the like.