Vertical scrolling of the browser scrolls the separate block on the page. How is this done?

There is a page with the content right from the browser have a standard vertical scrolling.
How to make sure that the appearance for this page block (e.g. div'and content), vertical scrolling effect only on this unit (i.e. replayed only this div)?

For example, this is implemented Vkontakte (
July 2nd 19 at 17:51
1 answer
July 2nd 19 at 17:53
to make the body overflow: hidden when you open modelki

Find more questions by tags Web DevelopmentjQueryCSSHTMLJavaScript