0
at the link below,
As the screen rolls, it is observed that the div’s are receiving transition effect. But the effect only occurs when the scroll arrives in the div. Before, it waits.
How to do this effect only when the div appears on the screen?
I even get the effect, but if the div is down there, the effect occurs and when I roll the screen, when arriving in the div, the effect has already occurred!
Strange, it works here, but it doesn’t work on my page. I imported Jquery and Scroolreveal in that order to head, I put div’s in body, and added js from the plugin and it doesn’t work!
– Carlos Rocha
The correct order has to be this: 1º Jquery | 2º scrollreveal | 3º HTML Code | 4º Function that calls scrollreveal.
– Ricardo Mota
Note that the JS code block has to stay after html
– Ricardo Mota
I hope I’ve helped.
– Ricardo Mota