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

Giving PWA icons transparent backgrounds

Marking up code examples

RCS 'identification marker' comes in useful