Add gridGap

This commit is contained in:
Andros Fenollosa 2020-08-28 17:07:20 +02:00 committed by GitHub
parent e0c59a8125
commit 21932d9be3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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