Putin Putin - 4 months ago 17
CSS Question

How to make floating content over fixed video HTML?

The web page has background video with

position: fixed
.

Below video there is
<div>
with the main content.

How can I make this content floating over video?

This is my experemental page: oleg-s-fresh-site-8f277a.webflow.io

You can see that content is not floaring over video, it is sctolled with video

Answer

Change code:

.ssssss {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

Remove the z-index property from .mm class. You don't need it and PRESTO!