0

position: fixed; doesn't work...

Hi. I don't understand why when I write h1{ position: fixed;} in CSS for any element, that element disapears in a navigator. Help...

18th Oct 2020, 4:26 AM
Rigobert EKWA MOUNGUI
Rigobert EKWA MOUNGUI - avatar
5 Respuestas
+ 4
Rigobert EKWA MOUNGUI Can you please share the code here
18th Oct 2020, 4:28 AM
‎Ashwin Maurya
‎Ashwin Maurya - avatar
+ 2
https://code.sololearn.com/WQIPJlBNjxSF/?ref=app This may help. Position:fixed is used to make element fixed when you scroll the page.
18th Oct 2020, 5:30 AM
Artem 🇺🇦
Artem 🇺🇦 - avatar
+ 1
In HTML, for exemple,when I write <h1>homepage<\h1> Then in CSS, I write h1 {position :fixed; } The h1 element disapears in a navigator. Why?
18th Oct 2020, 5:09 AM
Rigobert EKWA MOUNGUI
Rigobert EKWA MOUNGUI - avatar
+ 1
<h1>homepage</h1> Sorry. But any kind of position works.
18th Oct 2020, 5:13 AM
Rigobert EKWA MOUNGUI
Rigobert EKWA MOUNGUI - avatar
+ 1
Ok. I try. Thanks
18th Oct 2020, 5:34 AM
Rigobert EKWA MOUNGUI
Rigobert EKWA MOUNGUI - avatar