-
-
Save mattrc/75c83aa51ffe44b476719a45478ae63c to your computer and use it in GitHub Desktop.
HINCHAS Iframe HINCHAS Iframe // source http://jsbin.com/huyute
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> | |
<head> | |
<meta name="description" content="HINCHAS Iframe"> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>HINCHAS Iframe</title> | |
<style id="jsbin-css"> | |
body, | |
html { | |
height: 100%; | |
margin: 0; | |
background: lightgray; | |
} | |
main { | |
display: flex; | |
margin: 0 auto; | |
min-width: 320px; | |
max-width: 1000px; | |
height: 100%; | |
} | |
.content { | |
flex: 1 1 600px; | |
height: 100%; | |
} | |
.sidebar { | |
flex: 0 0 240px; | |
height: 100%; | |
background: gold; | |
} | |
</style> | |
</head> | |
<body> | |
<main> | |
<div class="content"> | |
<iframe src="http://hinch.as" frameborder="0" style="overflow:hidden;height:100%;width:100%;display:block;" height="100%" width="100%"></iframe> | |
</div> | |
<div class="sidebar"></div> | |
</main> | |
<script id="jsbin-source-css" type="text/css">body, | |
html { | |
height: 100%; | |
margin: 0; | |
background: lightgray; | |
} | |
main { | |
display: flex; | |
margin: 0 auto; | |
min-width: 320px; | |
max-width: 1000px; | |
height: 100%; | |
} | |
.content { | |
flex: 1 1 600px; | |
height: 100%; | |
} | |
.sidebar { | |
flex: 0 0 240px; | |
height: 100%; | |
background: gold; | |
}</script> | |
</body> | |
</html> |
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
body, | |
html { | |
height: 100%; | |
margin: 0; | |
background: lightgray; | |
} | |
main { | |
display: flex; | |
margin: 0 auto; | |
min-width: 320px; | |
max-width: 1000px; | |
height: 100%; | |
} | |
.content { | |
flex: 1 1 600px; | |
height: 100%; | |
} | |
.sidebar { | |
flex: 0 0 240px; | |
height: 100%; | |
background: gold; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment