DEV Community

Discussion on: Vanilla JS FadeIn/Out

Collapse
 
realto619 profile image
Paul Leech

Without a time component, the effect is basically too brief to notice.
Check out this solution for the fade in effect: jsfiddle.net/TH2dn/606/

Collapse
 
eterychan profile image
Eternia

Rather than adding timer or interval, you can simply reduce the value 0.1 to 0.05 to make the animation slower. I have tested it myself.