Created
March 26, 2014 21:01
-
-
Save brendanfalkowski/9793413 to your computer and use it in GitHub Desktop.
Example of multi-column RWD with flex-wrap.
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="flex-test"> | |
<p class="flex-test-item">Nulla facilisi. Duis aliquet egestas purus in blandit. Curabitur vulputate, ligula lacinia scelerisque tempor.</p> | |
<p class="flex-test-item">Nulla facilisi. Duis aliquet egestas purus in blandit. Curabitur vulputate, ligula lacinia scelerisque tempor. ligula lacinia scelerisque tempor. ligula lacinia scelerisque tempor.</p> | |
<p class="flex-test-item">Nulla facilisi. Duis aliquet egestas purus in blandit. Curabitur vulputate, ligula lacinia scelerisque tempor.</p> | |
<p class="flex-test-item">Nulla facilisi. Duis aliquet egestas purus in blandit. Curabitur vulputate, ligula lacinia scelerisque tempor.</p> | |
</div> | |
<style> | |
.flex-test { | |
display:flex; | |
flex-flow:row wrap; | |
background:#0F0; | |
} | |
.flex-test-item { | |
flex:1 0 250px; | |
background:#F00; | |
} | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment