DEV Community

Discussion on: Stop Using Fixed Headers and Start Using Sticky Ones

Collapse
 
quodline profile image
Quodline

I prefer to hide the header when the user scrolls down and show it when the user scrolls up even slightly. I think it manages space better for small mobile phones.

Collapse
 
luisaugusto profile image
Luis Augusto

That's also a great option, and I'm done that for a few sites as well. You can also use sticky header in that situation and just animate its position with transform: translateY(-100%)