add .centered class

to center child elements in both directions
This commit is contained in:
Felix Niklas 2014-07-09 13:25:05 +02:00
parent 63556b2d45
commit d62091c361

View file

@ -164,6 +164,19 @@ body.fit {
align-items: center;
}
.centered {
-webkit-box-align: center;
-ms-flex-align: center;
-moz-align-items: center;
-webkit-align-items: center;
align-items: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
-moz-justify-content: center;
-webkit-justify-content: center;
justify-content: center;
}
.end {
-webkit-box-align: end;
-ms-flex-align: end;