jdan / 98.css

A design system for building faithful recreations of old UIs
https://jdan.github.io/98.css
MIT License
9k stars 296 forks source link

Any way we can set window to full width and height? #186

Open tetron432 opened 9 months ago

tetron432 commented 9 months ago

I want to make a window full width and height in the browser screen. However, when I tried doing:

<div class="window" style="width: 100%;height: 100%">

There always seems to be gaps of space between the left, right, top, and bottom sides of the screen and the window, as shown here:

98 css window

Is there a way so that that the window can be set to full screen without any of the gaps of space?

juanigaray commented 8 months ago

That's probably your user-agent giving some of the ancestor elements a padding or a margin. Try opening the devtools and hovering over the elements in your document source code, while looking at them being highlighted in the page proper.