Created
October 26, 2013 18:34
-
-
Save WebPlatformDocs/7172970 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
.list { | |
display: -webkit-flex; | |
display: -moz-flex; | |
display: -ms-flex; | |
display: -o-flex; | |
display: flex; | |
-webkit-flex-wrap: nowrap; | |
-moz-flex-wrap: nowrap; | |
-ms-flex-wrap: nowrap; | |
-o-flex-wrap: nowrap; | |
flex-wrap: nowrap; | |
width: 20px; | |
background: #CCFFFF; | |
} | |
.list div { | |
-webkit-flex: 1; | |
-moz-flex: 1; | |
-ms-flex: 1; | |
-o-flex: 1; | |
flex: 1; | |
background: #CCC; | |
margin: 5px; | |
} |
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="list"> | |
<div>First</div> | |
<div>Second</div> | |
<div>Third</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":"120","seethrough":"","prefixfree":"","page":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment