-
-
Save playwellsteve/a94a37f8e6ba096f8f6e to your computer and use it in GitHub Desktop.
JS Bin// source http://jsbin.com/wefecagavi
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"> | |
<title>JS Bin</title> | |
<style id="jsbin-css"> | |
.grid { | |
border: 3px solid black; | |
} | |
.grid_row { | |
display: flex; | |
} | |
.grid_col { | |
flex: 1; | |
border: 1px solid grey; | |
border-right: 2px solid black; | |
} | |
.grid_col:nth-child(2) { | |
flex: 3; | |
} | |
.grid_col:nth-child(3) { | |
border-right: 1px solid grey; | |
} | |
.grid_col .grid_row .grid_col { | |
border-right: none; | |
border-left: none; | |
border-bottom: none; | |
} | |
.grid_col .grid_row .grid_col:nth-child(2) { | |
border-left: 1px solid grey; | |
} | |
</style> | |
</head> | |
<body> | |
<div class="grid"> | |
<div class="grid_row"> | |
<div class="grid_col">Title</div> | |
<div class="grid_col"> | |
<div class="grid_row> | |
<div class="grid_row"> | |
domr</div> | |
<div class="grid_row"> | |
<div class="grid_col">Type</div> | |
<div class="grid_col">Program</div> | |
</div> | |
<div class="grid_row"> | |
<div class="grid_col">Warmups</div> | |
<div class="grid_col">Projects 1</div> | |
</div> | |
</div> | |
<div class="grid_col"> | |
<div class="grid_row">Characters</div> | |
<div class="grid_row">Setting</div> | |
<div class="grid_row">Projects 2</div> | |
</div> | |
</div> | |
</div> | |
<script id="jsbin-source-css" type="text/css">.grid { | |
border: 3px solid black; | |
} | |
.grid_row { | |
display: flex; | |
} | |
.grid_col { | |
flex: 1; | |
border: 1px solid grey; | |
border-right: 2px solid black; | |
} | |
.grid_col:nth-child(2) { | |
flex: 3; | |
} | |
.grid_col:nth-child(3) { | |
border-right: 1px solid grey; | |
} | |
.grid_col .grid_row .grid_col { | |
border-right: none; | |
border-left: none; | |
border-bottom: none; | |
} | |
.grid_col .grid_row .grid_col:nth-child(2) { | |
border-left: 1px solid grey; | |
}</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
.grid { | |
border: 3px solid black; | |
} | |
.grid_row { | |
display: flex; | |
} | |
.grid_col { | |
flex: 1; | |
border: 1px solid grey; | |
border-right: 2px solid black; | |
} | |
.grid_col:nth-child(2) { | |
flex: 3; | |
} | |
.grid_col:nth-child(3) { | |
border-right: 1px solid grey; | |
} | |
.grid_col .grid_row .grid_col { | |
border-right: none; | |
border-left: none; | |
border-bottom: none; | |
} | |
.grid_col .grid_row .grid_col:nth-child(2) { | |
border-left: 1px solid grey; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment