0

How do make the Header fixed on screen? Like, if you scroll up or down it'll remain up there

5th Feb 2019, 10:10 PM
Jean-Erolle Remy
Jean-Erolle Remy - avatar
3 Respostas
+ 2
position: fixed;
5th Feb 2019, 10:29 PM
Alexandru Zmau
Alexandru Zmau - avatar
+ 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/
5th Feb 2019, 10:32 PM
Sudarshan Rai
Sudarshan Rai - avatar
0
Thank you
6th Feb 2019, 2:40 AM
Jean-Erolle Remy
Jean-Erolle Remy - avatar