0
How do make the Header fixed on screen? Like, if you scroll up or down it'll remain up there
3 Respostas
+ 2
position: fixed;
+ 1
//An element with a fixed position is positioned relative to the browser window, and will not move even if the window is scrolled.
The position can be specified using one or more of the properties top, right, bottom, and left.
header{
position :fixed ;
}
https://www.sololearn.com/learn/CSS/1114/
0
Thank you