Update _mixins.sass

This commit is contained in:
Andros Fenollosa 2020-06-03 17:49:11 +02:00 committed by GitHub
parent b33863294e
commit df3cb86e08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -114,3 +114,13 @@
timing-function: linear
direction: alternate
/*
* Center all child elements horizontally and vertically.
*
* Examples: @include centerChilds()
*/
@mixin centerChilds()
display: flex
justify-content: center
align-items: center