Z
Z
Zombie426792018-02-19 11:53:55
css
Zombie42679, 2018-02-19 11:53:55

How to scroll to the block below?

Initially, the site opens from the header, how to make it so that when the user turns the wheel, he immediately scrolls down to the next section, and then he manually scrolls?

While I was writing the question, I wrote the solution myself, although it seems to me a little "dirty", maybe someone knows how to write it cleaner or in pure JS - I will be grateful.

Solution for now - https://codepen.io/anon/pen/RQQgee

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question