Add gridGap
This commit is contained in:
parent
e0c59a8125
commit
21932d9be3
11
_mixins.sass
11
_mixins.sass
@ -142,3 +142,14 @@
|
|||||||
justify-content: center
|
justify-content: center
|
||||||
align-items: center
|
align-items: center
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Mimics grid-gap separation for flex
|
||||||
|
*
|
||||||
|
* Examples: @include gridGap(2.5rem)
|
||||||
|
*/
|
||||||
|
@mixin gridGap($size: 1rem)
|
||||||
|
margin: 0 $size
|
||||||
|
&:first-child
|
||||||
|
margin-left: 0
|
||||||
|
&:last-child
|
||||||
|
margin-right: 0
|
||||||
|
Loading…
Reference in New Issue
Block a user