KNACSS/less/07-flexbox.less
2014-05-07 10:45:47 +02:00

30 lines
308 B
Text

@import "00-config";
/* 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;
}