KNACSS/future-proof/css-includes/07-flexbox.css
2014-05-22 20:36:58 +02:00

30 lines
288 B
CSS

/* flexbox layout
Tutorial: http://knacss.com/demos/tutoriel.html#flex */
.flex {
display : flex;
}
.flex-h {
flex-direction: row;
}
.flex-v {
flex-direction: column;
}
.flex-fluid {
flex: 1;
}
.flex-start {
order : -1;
}
.flex-mid {
order : 1;
}
.flex-end {
order : 42;
}