Menu icon Foundation

My Posts

No Content

My Comments

Gary Steffins commented on Cordale Ottley's post about 1 year

 
This is an old thread, but a new problem for me, this seems to work well for v6.5, keeping amount of code to a minimum:
@function gutter($size) {
@return rem-calc(map-get($grid-column-gutter, $size) * 1px);
}
.class {
margin: gutter(small);
@include breakpoint(medium){
margin: gutter(medium);
}
}

Posts Followed


Following

    No Content

Followers

My Posts

No Content

My Comments

You commented on Cordale Ottley's post about 1 year

 
This is an old thread, but a new problem for me, this seems to work well for v6.5, keeping amount of code to a minimum:
@function gutter($size) {
@return rem-calc(map-get($grid-column-gutter, $size) * 1px);
}
.class {
margin: gutter(small);
@include breakpoint(medium){
margin: gutter(medium);
}
}

Posts Followed

Following

  • No Content

Followers

  • No Content