+ 2

How to do fixed header?

Write in comments pls in html or css, i want to only main content move sory for my bad english

3rd May 2018, 1:53 PM
Данила Онемешник
Данила Онемешник - avatar
1 Réponse
+ 4
Use `position: fixed;` in CSS Example: HTML: <header class="banner"> <!-- Content here --> </header> CSS: .banner { position: fixed; top: 0; right: 0; left: 0; z-index: 1000; }
3rd May 2018, 3:05 PM
MizoPro
MizoPro - avatar