Last active
March 17, 2022 07:43
-
-
Save Lobbyra/69b9edee25ec37a693f37735dec0dd5d to your computer and use it in GitHub Desktop.
full div iframe
This file contains hidden or 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
<html> | |
<style> | |
body, | |
html { | |
width: 100%; | |
height: 100%; | |
margin: 0; | |
padding: 0 | |
} | |
.row-container { | |
display: flex; | |
width: 100%; | |
height: 100%; | |
flex-direction: column; | |
overflow: hidden; | |
} | |
.row { | |
flex-grow: 1; | |
border: none; | |
margin: 0; | |
padding: 0; | |
} | |
</style> | |
<body> | |
<div class="row-container"> | |
<iframe src="https://example.com" class="row"></iframe> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment