Skip to content

Instantly share code, notes, and snippets.

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
<iframe src="/sample.pdf" width="100%" style="height: 100vh;"></iframe>

This comment has been minimized.

Copy link

@m-hume m-hume commented Apr 27, 2021


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment