Skip to content

Instantly share code, notes, and snippets.

@mattrc
Forked from anonymous/index.html
Created August 16, 2016 13:27
Show Gist options
  • Save mattrc/75c83aa51ffe44b476719a45478ae63c to your computer and use it in GitHub Desktop.
Save mattrc/75c83aa51ffe44b476719a45478ae63c to your computer and use it in GitHub Desktop.
HINCHAS Iframe HINCHAS Iframe // source http://jsbin.com/huyute
<!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>
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