Skip to content

Instantly share code, notes, and snippets.

@HereIsJade
Created August 7, 2018 20:35
Show Gist options
  • Save HereIsJade/0aae2bcc0e03909c634b08dc2da28127 to your computer and use it in GitHub Desktop.
Save HereIsJade/0aae2bcc0e03909c634b08dc2da28127 to your computer and use it in GitHub Desktop.
// source http://jsbin.com
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<style id="jsbin-css">
header{
height:50px;
background:#ddd;
}
.content{
display:flex;
}
.content aside{
background:lightblue;
width:100px;
}
.content main{
height:400px;
flex:1;
}
.content nav{
width:100px;
background: lightpink;
}
footer{
height:50px;
background:#666;
}
</style>
</head>
<body>
<header></header>
<div class="content">
<aside></aside>
<main></main>
<nav></nav>
</div>
<footer></footer>
<script id="jsbin-source-css" type="text/css">header{
height:50px;
background:#ddd;
}
.content{
display:flex;
}
.content aside{
background:lightblue;
width:100px;
}
.content main{
height:400px;
flex:1;
}
.content nav{
width:100px;
background: lightpink;
}
footer{
height:50px;
background:#666;
}</script>
</body>
</html>
header{
height:50px;
background:#ddd;
}
.content{
display:flex;
}
.content aside{
background:lightblue;
width:100px;
}
.content main{
height:400px;
flex:1;
}
.content nav{
width:100px;
background: lightpink;
}
footer{
height:50px;
background:#666;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment