add .centered class
to center child elements in both directions
This commit is contained in:
parent
63556b2d45
commit
d62091c361
1 changed files with 13 additions and 0 deletions
|
@ -164,6 +164,19 @@ body.fit {
|
||||||
align-items: center;
|
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 {
|
.end {
|
||||||
-webkit-box-align: end;
|
-webkit-box-align: end;
|
||||||
-ms-flex-align: end;
|
-ms-flex-align: end;
|
||||||
|
|
Loading…
Reference in a new issue