Created
August 2, 2017 18:46
-
-
Save anonymous/f494ef52e8faa9ebdd1326d621fc52c7 to your computer and use it in GitHub Desktop.
JS Bin // source http://jsbin.com/kuqirobine
This file contains hidden or 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"> | |
.verb-wrapper{ | |
width:400px; | |
border: 1px solid green; | |
} | |
.level { | |
width: calc(100% - 20px); | |
border: 1px solid orange; | |
margin: 10px; | |
} | |
.title{ | |
text-align: center; | |
} | |
.level-two-wrap, | |
.ele-wrap{ | |
display:flex; | |
justify-content:center; | |
} | |
.ele{ | |
width:25%; | |
text-align:center; | |
border:1px solid red; | |
} | |
.section-one{ | |
width:75% | |
} | |
.section-two{ | |
width:25%; | |
} | |
.section-one .ele{ | |
width:25%; | |
} | |
.section-two .ele{ | |
width:100%; | |
} | |
</style> | |
</head> | |
<body> | |
<div class="main-container"> | |
<div class="verb-wrapper"> | |
<div class="level"> | |
<div class="title">Title one</div> | |
<div class="ele-wrap"> | |
<div class="ele">X</div> | |
<div class="ele">X</div> | |
<div class="ele">X</div> | |
<div class="ele">X</div> | |
</div> | |
</div> | |
<div class="level"> | |
<div class="level-two-wrap"> | |
<div class="section-one"> | |
<div class="title">Title one</div> | |
<div class="ele-wrap"> | |
<div class="ele">X</div> | |
<div class="ele">X</div> | |
<div class="ele">X</div> | |
</div> | |
</div> | |
<div class="section-two"> | |
<div class="title">Title one</div> | |
<div class="ele single">X</div> | |
</div> | |
</div> | |
</div> | |
<div class="level"> | |
<div class="title">Title one</div> | |
<div class="ele-wrap"> | |
<div class="ele">X</div> | |
<div class="ele">X</div> | |
<div class="ele">X</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
<script id="jsbin-source-css" type="text/css"> .verb-wrapper{ | |
width:400px; | |
border: 1px solid green; | |
} | |
.level { | |
width: calc(100% - 20px); | |
border: 1px solid orange; | |
margin: 10px; | |
} | |
.title{ | |
text-align: center; | |
} | |
.level-two-wrap, | |
.ele-wrap{ | |
display:flex; | |
justify-content:center; | |
} | |
.ele{ | |
width:25%; | |
text-align:center; | |
border:1px solid red; | |
} | |
.section-one{ | |
width:75% | |
} | |
.section-two{ | |
width:25%; | |
} | |
.section-one .ele{ | |
width:25%; | |
} | |
.section-two .ele{ | |
width:100%; | |
}</script> | |
</body> | |
</html> |
This file contains hidden or 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
.verb-wrapper{ | |
width:400px; | |
border: 1px solid green; | |
} | |
.level { | |
width: calc(100% - 20px); | |
border: 1px solid orange; | |
margin: 10px; | |
} | |
.title{ | |
text-align: center; | |
} | |
.level-two-wrap, | |
.ele-wrap{ | |
display:flex; | |
justify-content:center; | |
} | |
.ele{ | |
width:25%; | |
text-align:center; | |
border:1px solid red; | |
} | |
.section-one{ | |
width:75% | |
} | |
.section-two{ | |
width:25%; | |
} | |
.section-one .ele{ | |
width:25%; | |
} | |
.section-two .ele{ | |
width:100%; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment