Skip to content

Instantly share code, notes, and snippets.

@Jbithell
Created September 11, 2016 19:24
Show Gist options
  • Save Jbithell/9e9328815101f737bfd4cd330bbe3121 to your computer and use it in GitHub Desktop.
Save Jbithell/9e9328815101f737bfd4cd330bbe3121 to your computer and use it in GitHub Desktop.
Full page iframe
<!DOCTYPE html>
<html>
<head>
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'>
<meta content='width=device-width, initial-scale=1.0' name='viewport'>
<title></title>
<style>
html {
overflow: auto;
}
html, body, iframe {
margin: 0px;
padding: 0px;
height: 100%;
border: none;
}
iframe {
display: block;
width: 100%;
border: none;
overflow: auto;
}
</style>
</head>
<body>
<iframe src='IFRAMEURL'></iframe>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment