Skip to content

Commit

Permalink
Add more layout options
Browse files Browse the repository at this point in the history
  • Loading branch information
pstjvn committed Dec 30, 2015
1 parent a38b76e commit c66fdad
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions less/material/layout.less
Expand Up @@ -180,6 +180,30 @@
flex: 12;
}


/* self alignment */
.self-start {
-ms-align-self: flex-start;
-webkit-align-self: flex-start;
align-self: flex-start;
}
.self-center {
-ms-align-self: center;
-webkit-align-self: center;
align-self: center;
}
.self-end {
-ms-align-self: flex-end;
-webkit-align-self: flex-end;
align-self: flex-end;
}
.self-stretch {
-ms-align-self: stretch;
-webkit-align-self: stretch;
align-self: stretch;
}


.auto {
-ms-flex: 1 1 auto;
-webkit-flex-basis: auto;
Expand Down

0 comments on commit c66fdad

Please sign in to comment.