M
M
Maxim Aron2017-03-15 19:37:48
css
Maxim Aron, 2017-03-15 19:37:48

How to block scroll?

I know how to block the scroll. position: fixed;, but I need to make it possible to scroll the page. That is, there is a video tag and you need to make sure that I scroll the page and it scrolls as usual, while the video itself in the background was in one place.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Kanonier8, 2017-03-15
@Smiled

If I understood everything correctly, then you need a video as a background?
If so, then you can solve it like this codepen.io/anon/pen/aJLBPM?editors=1100

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question