Flexbox: add link to tutorial and removes whitespace before colon

This commit is contained in:
PhilippeVay 2014-01-25 10:15:51 +01:00
parent 37150f2ec0
commit f93f2af058

View file

@ -1,11 +1,12 @@
/* flexbox layout */
/* flexbox layout
Tutorial: http://knacss.com/demos/tutoriel.html#flex */
.flex {
display : -webkit-box;
display : -moz-box;
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display : -webkit-flex;
display : flex;
display: -webkit-flex;
display: flex;
}
.flex-h {
-webkit-box-orient: horizontal;
@ -31,24 +32,24 @@
.flex-start {
-webkit-box-ordinal-group: -1;
-moz-box-ordinal-group: 0;
-ms-flex-order : -1;
-webkit-order : -1;
-moz-order : -1;
order : -1;
-ms-flex-order: -1;
-webkit-order: -1;
-moz-order: -1;
order: -1;
}
.flex-mid {
-webkit-box-ordinal-group: 1;
-moz-box-ordinal-group: 1;
-ms-flex-order : 1;
-webkit-order : 1;
-moz-order : 1;
order : 1;
-ms-flex-order: 1;
-webkit-order: 1;
-moz-order: 1;
order: 1;
}
.flex-end {
-webkit-box-ordinal-group: 42;
-moz-box-ordinal-group: 42;
-ms-flex-order : 42;
-webkit-order : 42;
-moz-order : 42;
order : 42;
-ms-flex-order: 42;
-webkit-order: 42;
-moz-order: 42;
order: 42;
}