G
G
GrimJack2017-01-22 13:48:43
css
GrimJack, 2017-01-22 13:48:43

Is it possible to fix a block before the scrolling of the elements in it is finished?

Suppose there are 2 blocks on the site.
The first takes up the entire height of the screen. But it contains information that "does not fit" and therefore you need to fix this block until all the information is scrolled.
In what way can this be done?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yuri, 2017-01-22
@GrimJack

Through css, set the parent block to
overflow: hidden;
overflow-y: scroll;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question