Created
August 7, 2018 20:35
-
-
Save HereIsJade/0aae2bcc0e03909c634b08dc2da28127 to your computer and use it in GitHub Desktop.
// source http://jsbin.com
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"> | |
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> |
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
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