Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
100 viewport height units to make an iframe fit or fill 100% of its container’s remaining height – Sikwati - via http://sikwati.com/blog/make-iframe-fit-container-height/
<iframe src="/sample.pdf" width="100%" style="height: 100vh;"></iframe>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.