New course! Every coder should learn Generative AI!
Try a free lesson+ 7
How can i make the header of a webpage stay on top while scrolling down?
2 Answers
+ 4
position: fixed;
top: 0;
left: 0;
width: 100%;
height: auto;
0
use css and position: fixed