by mrweasel · 10y ago · 0 comments
Even the example is shown for a client that has plenty of vertical space. If the user is on something like a 13" laptop, the fixed header reduces the amount of "usable" space on the page.
Unless you're absolutely sure that the client is on a big monitor, and has a browser window that's higher than it is wide, don't use fixed headers.
Interestingly enough you rarely see website/webapps that utilises the fact that most users are on wide-screen monitors (mobile excluded).
If you don't want it, don't add it
It makes more sense on mobile devices where scrolling up can be a pain.
https://gist.github.com/luke3butler/72492aaa68ee9425758ee786...