V
V
Vladimir Novitsky2015-09-24 05:18:38
css
Vladimir Novitsky, 2015-09-24 05:18:38

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 opacityfrom 0to 1does not give the desired result.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
littleguga, 2015-09-24
@Novitsky

Like this

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question