KNACSS/less/07-flexbox.less
2014-02-01 18:37:56 +01:00

24 lines
No EOL
301 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;
}