Trying to create fullscreen frames using 100 vw and 100vh per div. I have 2 in this JSfiddle and, as you can see there is extra space both below and to the right of each frame.
Is there a way to use vw and vh and it fits perfectly without extra space?
css looks like this:
.f1 { width: 100vw; height: 100vh; background-color: blue; } .f2 { width: 100vw; height: 100vh; background-color: grey; }
* Edit: It seems that creating a width of 100% solves this, but is this a solution? Is something tearing?
source share