Home > Software engineering >  Fixed Menu at the top and a banner
Fixed Menu at the top and a banner

Time:09-30

How can I have a fixed menu at the top regardless of strolling down? This is the codesandbox link: enter image description here

with position: sticky; this is what it looks like: enter image description here

enter image description here

CodePudding user response:

 #navigator{
      top: 0px;
      left:  0px;
      position : fixed;
      z-index: 1000;
    }
  • Related