CSS position fixed bug

A 'div' with 'position: fixed' was not visible when I forgot to give a 'top' or 'left' and other content filled the screen. 


The 'div' is visible and below the other content if this content only partly fills the screen.


If I say 'position: absolute' then the 'div' is at the bottom of the other content even if this content fills the screen. 




Comments

Popular posts from this blog

Adding 'inert' HTML attribute does not speed up animations

How a CSS fish animation works

Online HTML minifiers