Created
July 14, 2020 20:34
-
-
Save Carleslc/a359996416b7b5a80d382909a27c4cb1 to your computer and use it in GitHub Desktop.
Full Page Iframe Embed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://codepen.io/Carleslc/pen/QRZgyx