How Do I Fit an Eelement to Screen Size?

For any element, you can set width="100%" which means 100 percent width for your element. You can also set any height for your element, for example set height="100vh", and then your element will be displayed at full screen height.

Note: You can see the changes of vh units only when the page view height is specified (not auto).