body { margin: 0; } nav { width: 100%; height: 53px; background: #fefefe; position: fixed; top: 0; left: 0; z-index: 1; } .parallax { perspective: 1px; height: 100vh; overflow-x: hidden; overflow-y: auto; } .hero { background: #00f; height: 100vh; transform: translateZ(-1px) scale(2); } .product { background: #003; height: 100%; position: relative; } .footer { height: 40px; background-color: #030; } img { width: 100%; height: 100%; object-fit: cover; } <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>Document</title> <link rel="stylesheet" href="css/app.css"> </head> <body> <nav></nav> <div class="parallax"> <div class="hero"> <img src="img/flowers.jpg"> </div> <div class="product"></div> <div class="footer"></div> </div> </body> </html> Hi. The problem is such a navigation bar that with a fiscal position stands on top of a scroll. If it is also placed in a group with parallax, it becomes not fixed.