Skip to content

Instantly share code, notes, and snippets.

Brad Mallow briznad

Block or report user

Report or block briznad

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
briznad / grid.scss
Created Nov 3, 2018
better sass grid
View grid.scss
@function _grid($columns, $total-columns: 12, $breakpoint: small, $external: true) {
$gutter-compensation: null;
$gutter-width: map-get($grid-gutters, $breakpoint);
@if $external {
$gutter-compensation: $gutter-width * 0.5;
} @else {
$gutter-compensation: $gutter-width * -1;
You can’t perform that action at this time.