WeCodeAcademy

Make a sticky header

position: sticky with top: 0 keeps the header visible while the page scrolls.

Examplehtml
Open in editor »

More CSS recipes