liltrill2019-09-10 21:53:16
liltrill, 2019-09-10 21:53:16

Animated scroll in pure js?

Hello everyone, for 3 hours I can not do this:
I need to animate the page using scrollBy(0, height), to the height of the block. Animation I need ease-out 0.4s; I'm digging around with this and I can't figure out how to do it - https://learn.javascript.ru/js-animation

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Vlad Afonin, 2019-09-10

Here is an implementation example

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question