Last active
March 10, 2016 06:05
-
-
Save maxvipon/3a9b6f14361c16afc346 to your computer and use it in GitHub Desktop.
Untitled
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
.a { | |
display: flex; | |
flex-flow: column nowrap; | |
width: 200px; | |
height: 200px; | |
background: yellow; | |
border: 1px solid #999; | |
padding: 5px; | |
box-sizing: border-box; | |
} | |
.l { | |
flex: 1; | |
} | |
.l1 { | |
background: lightgreen; | |
} | |
.b { | |
flex: 2; | |
display: flex; | |
} | |
.c { | |
flex: 1; | |
} | |
.c1 { | |
flex-basis: 55%; | |
background: lightgrey; | |
} | |
.c2 { | |
flex-basis: 45%; | |
background: darkgrey; | |
} | |
.l4 { | |
flex: 1; | |
background: lightblue; | |
} |
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
<div class="a"> | |
<div class="l l1">l1</div> | |
<div class="b"> | |
<div class="c c1">l2</div> | |
<div class="c c2">l3</div> | |
</div> | |
<div class="l l4">l4</div> | |
</div> |
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
// alert('Hello world!'); |
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
{"view":"split-vertical","fontsize":"80","seethrough":"","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment