Skip to content

Instantly share code, notes, and snippets.

@Carleslc
Created July 14, 2020 20:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Carleslc/a359996416b7b5a80d382909a27c4cb1 to your computer and use it in GitHub Desktop.
Save Carleslc/a359996416b7b5a80d382909a27c4cb1 to your computer and use it in GitHub Desktop.
Full Page Iframe Embed
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Full Page Iframe Embed</title>
<!-- Style -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<style lang="css">
body, html {
margin: 0;
padding: 0;
height: 100%;
overflow: hidden;
}
.content {
position: absolute;
left: 0;
right: 0;
bottom: 0;
top: 0px;
}
</style>
</head>
<body>
<div class="content">
<iframe width="100%" height="100%" frameborder="0" src="http://example.com/"/>
</div>
</body>
</html>
@Carleslc
Copy link
Author

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