Skip to content

Instantly share code, notes, and snippets.

@ijy
Forked from mirisuzanne/susy-baseline.scss
Created September 22, 2012 16:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ijy/3766721 to your computer and use it in GitHub Desktop.
Save ijy/3766721 to your computer and use it in GitHub Desktop.
Show susy grid and basline on the same element
@include show-susy-with-baseline($baseline: rhythm(1)) {
@include grid-background($total-columns, column(), gutter(), $baseline, 0%);
@include background-size(100% $baseline, auto);
@include background-origin(border-box, content-box);
@include background-clip(border-box, content-box);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment