Update _mixins.sass
This commit is contained in:
parent
b33863294e
commit
df3cb86e08
10
_mixins.sass
10
_mixins.sass
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user