Build a Prod Landing Page - video not disappearing behind navbar

Build a Prod Landing Page - video not disappearing behind navbar
0

#1

I have a fixed nav-bar at the top of the page. As other elements scroll to top of the page, they are supposed to disappear behind nav-bar. This is true for all elements except video. I continue to see parts of video (ex: play button) even after it is behind the nav-bar. Happens sporadically. Any ideas?? Many thanks.

All my code is here: https://codepen.io/sabahatiqbal/pen/EpPvZb


#2

yes, try setting the ‘z-index’ property to a number higher than 0 for your navigation menu in the css. Feel free to google for more info on this.