M
M
marrs2020-04-19 19:57:54
JavaScript
marrs, 2020-04-19 19:57:54

How to create a horizontally scrolling menu?

Interested in the technique used on https://yandex.ru/efir?stream_active=channels-list
open through the browser in the mobile view.

Interested in how the menu scrolls to the selected position, for example, if I went to some page or clicked on an item that was partially out of scope.

It seems that an offset should be used using the negative value of some css property, using js, but I can’t find anything like that.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir, 2020-04-19
@HistoryART

Google anchors

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question