Hey!
I think that my problem is not a big think, but I don't get the resolution by myself.
I've got a function that will add or remove classes from Animate.css by direction of scrolling.
If I'm refreshing the page (CTRL+F5) and get the focus on the section where the fade will happen, the offset is completely different and sometimes the fade classes are switched. The problem excist only on the classes "fadeInBottom" and "fadeInTop".
Hey! I think that my problem is not a big think, but I don't get the resolution by myself. I've got a function that will add or remove classes from Animate.css by direction of scrolling. If I'm refreshing the page (CTRL+F5) and get the focus on the section where the fade will happen, the offset is completely different and sometimes the fade classes are switched. The problem excist only on the classes "fadeInBottom" and "fadeInTop".
Here is my code:
Thanks for the help! :)