@mixin grid-layout($w, $h, $template, $gap) {
 width: $w;
 height: $h;
 display: grid;
 grid-template: $template;
 grid-gap: $gap;
}
    
.grid-container {
 @include grid-layout(100px, 100px, "1fr 1fr", 5px);
}

.grid-element  {
 border: 1px solid #666666;
}

Instagram Post