Scrolling fadeIn and fadeOut element

News Articles

Web Design News / News Articles 104 Views

I want to know how to do or know what this is called. the effect when you scroll down and an element will appear, and u scroll backup it will disappear. is there a way to execute a function when the window scrolls to a certain element. I dont really want scrollTop() because from my understanding, it uses pixels and i dont know how to work with that on a responsive web page.

an example: https://toi.io/
i have been searching it for quite some time now but i just dont know what to search for.

submitted by /u/beatyn
[link] [comments]

Comments