Answer the question
In order to leave comments, you need to log in
How to change transparency on scroll?
Hello.
There is a small script with which a block appears smoothly when scrolling.
How to do the opposite? So that the block was initially visible, and disappeared when scrolling.
Simply changing the CSS property opacity
from 0
to 1
does not give the desired result.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question