Home > database >  How do I get rid of div container adding element when in fullscreen [closed]
How do I get rid of div container adding element when in fullscreen [closed]

Time:10-09

Hello When I stretch out the window (enter fullscreen) the container on the sides adds an element linking it at the bottom.

CodePudding user response:

the answer was simple: main {overflow: auto;}

CodePudding user response:

There is something called fullscreenapi

https://developer.mozilla.org/en-US/docs/Web/API/Fullscreen_API

It has events to know when the fullscreen is entered and exited so you can add or remove your elements on those events.

  •  Tags:  
  • css
  • Related