How to set html component to full screen of webpage

I added an html component to my website. I hope that the content in this component can be directly adapted to the size of the component for full-screen display. What should I do?

Wix does not currently support programatic sizing and positioning of an HtmlComponent. For more information, see Adjusting the Sizing of the Displayed Content .

Fullscreen with HTML Component

This example demonstrates the requestFullscreen method of the HTML fullscreen API as used to change a specified element to full screen.