Created
August 7, 2018 19:25
-
-
Save HereIsJade/ebc722abbe702f28fe8f50688e0aff8a to your computer and use it in GitHub Desktop.
JS Bin // source http://jsbin.com/parutib
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 charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
<style id="jsbin-css"> | |
*{ | |
padding:0; | |
margin:0; | |
} | |
ul{ | |
list-style:none; | |
} | |
.container{ | |
height:100vh; | |
display:flex; | |
flex-direction:column; | |
} | |
header{ | |
background: #ddd; | |
height:100px; | |
} | |
main{ | |
flex-grow:1; | |
overflow: auto; | |
} | |
footer{ | |
background:lightblue; | |
} | |
footer>ul{ | |
display:flex; | |
height:80px; | |
} | |
footer>ul>li{ | |
border:1px solid black; | |
flex-grow:1; | |
} | |
</style> | |
</head> | |
<body> | |
<div class="container"> | |
<header>Header</header> | |
<main> | |
<p>main</p> | |
<p>main</p> | |
<p>main</p> | |
<p>main</p> | |
<p>main</p> | |
<p>main</p> | |
<p>main</p> | |
<p>main</p> | |
<p>main</p> | |
<p>main</p> | |
<p>main</p> | |
<p>main</p> | |
<p>main</p> | |
<p>main</p> | |
<p>main</p> | |
<p>main</p> | |
<p>main</p> | |
<p>main</p> | |
<p>main</p> | |
<p>main</p> | |
<p>main</p> | |
<p>main</p> | |
<p>main</p> | |
<p>main</p> | |
<p>main</p> | |
<p>main</p> | |
<p>main</p> | |
<p>main</p> | |
<p>main</p> | |
<p>main</p> | |
<p>main</p> | |
<p>main</p> | |
<p>main</p> | |
<p>main</p> | |
<p>main</p> | |
<p>main</p> | |
<p>main</p> | |
<p>main</p> | |
<p>main</p> | |
<p>main</p> | |
<p>main</p> | |
<p>main</p> | |
<p>main</p> | |
<p>main</p> | |
<p>main</p> | |
</main> | |
<footer> | |
<ul> | |
<li></li> | |
<li></li> | |
<li></li> | |
<li></li> | |
</ul> | |
</footer> | |
</div> | |
<script id="jsbin-source-css" type="text/css">*{ | |
padding:0; | |
margin:0; | |
} | |
ul{ | |
list-style:none; | |
} | |
.container{ | |
height:100vh; | |
display:flex; | |
flex-direction:column; | |
} | |
header{ | |
background: #ddd; | |
height:100px; | |
} | |
main{ | |
flex-grow:1; | |
overflow: auto; | |
} | |
footer{ | |
background:lightblue; | |
} | |
footer>ul{ | |
display:flex; | |
height:80px; | |
} | |
footer>ul>li{ | |
border:1px solid black; | |
flex-grow:1; | |
}</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
*{ | |
padding:0; | |
margin:0; | |
} | |
ul{ | |
list-style:none; | |
} | |
.container{ | |
height:100vh; | |
display:flex; | |
flex-direction:column; | |
} | |
header{ | |
background: #ddd; | |
height:100px; | |
} | |
main{ | |
flex-grow:1; | |
overflow: auto; | |
} | |
footer{ | |
background:lightblue; | |
} | |
footer>ul{ | |
display:flex; | |
height:80px; | |
} | |
footer>ul>li{ | |
border:1px solid black; | |
flex-grow:1; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment