Merge pull request #36 from adamwathan/flexbox_improvements
Work-in-progress improvements to flex utilities
This commit is contained in:
commit
39eb30ce72
1 changed files with 19 additions and 0 deletions
|
|
@ -4,6 +4,7 @@
|
|||
.flex-col {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
.flex-reverse {
|
||||
flex-direction: column-reverse;
|
||||
}
|
||||
|
|
@ -50,3 +51,21 @@
|
|||
|
||||
.flex-reverse { flex-direction: row-reverse; }
|
||||
.flex-wrap { flex-wrap: wrap; }
|
||||
|
||||
.responsive({
|
||||
&flex { .flex; }
|
||||
&flex-top { .flex-top; }
|
||||
&flex-col { .flex-col; }
|
||||
&flex-center { .flex-center; }
|
||||
&flex-y-center { .flex-y-center; }
|
||||
&flex-y-end { .flex-y-end; }
|
||||
&flex-y-baseline { .flex-y-baseline; }
|
||||
&flex-right { .flex-right; }
|
||||
&flex-spaced { .flex-spaced; }
|
||||
&flex-around { .flex-around; }
|
||||
&flex-fill { .flex-fill; }
|
||||
&flex-no-shrink { .flex-no-shrink; }
|
||||
&flex-inline { .flex-inline; }
|
||||
&flex-reverse { .flex-reverse; }
|
||||
&flex-wrap { .flex-wrap; }
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue