- W3C
.container {
display: flex;
display: -webkit-flex;
}
<div class="container">
<div id="child-1"></div>
<div id="child-2"></div>
<div id="child-3"></div>
</div>
.container {
display: flex;
flex-direction: row | row-reverse | column | column-reverse;
flex-wrap: nowrap | wrap | wrap-reverse;
justify-content: flex-start | flex-end | center | space-between | space-around;
}
flex-direction
flex-wrap
justify-content
#child-1 {
order: <int>;
flex-grow: <number>;
flex-shrink: <number>;
}
flex-grow
flex-shrink
order
http://caniuse.com/#feat=flexbox
http://flexboxfroggy.com/
http://www.w3schools.com/css/css3_flexbox.asp
https://flexbox.io/
http://rodkings.plethora.com.mx
rodrigo@plethora.com.mx
Rodrigo Reyes
Front-End and UX developer