You might think that making a div element the same height as your browser would be as easy as this: div { height: 100%; } However, it is unfortunately not. If you're wondering why height: 100%; doesn't work to make an element the full height of ...

Markdown supported · ⌘↵ to post
Awesome...!! Thanks for sharing.
thanks for sharing this. I have a question, can 100vh dynamically follow the size of browser window?
Tilak Jain
I am a Web developer and a student pursuing BCA. I also handle @coding_dev_ on Instagram.
Thanks for Sharing