KNACSS/less/07-flexbox.less

24 lines
301 B
Text
Raw Normal View History

@import "00-config";
/* flexbox layout
Tutorial: http://knacss.com/demos/tutoriel.html#flex */
2013-09-12 11:59:14 +02:00
.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;
}