I have to fit an iframe in screen height. Obviously, I wanted 100% as in width but, since that doesn\'t work, I used 100vh. But vh like vw is not exactly 100%. In my laptop
Havengard's answer doesn't seem to be strictly true. I've found that vw fills the viewport width, but doesn't account for the scrollbars. So, if your content is taller than the viewport (so that your site has a vertical scrollbar), then using vw results in a small horizontal scrollbar. I had to switch out width: 100vw
for width: 100%
to get rid of the horizontal scrollbar.