Navigation codebase looks pretty great right now, with a few changes we can make it look better:
Add top:0; to your header element
CSS positioning property top, positions elements at a distance from the top of the current parent element, in this case the header will stick to the top of the body elementhttps://developer.mozilla.org/en-US/docs/Web/CSS/top
Navigation codebase looks pretty great right now, with a few changes we can make it look better:
Add
top:0;
to your header elementCSS positioning property
top,
positions elements at a distance from the top of the current parent element, in this case the header will stick to the top of the body element https://developer.mozilla.org/en-US/docs/Web/CSS/top