Created
May 13, 2014 20:36
-
-
Save JawsomeJason/5cb9dd2fd7380d437465 to your computer and use it in GitHub Desktop.
PDP Susy Layout Example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// grid layout | |
@include with-grid-settings( $columns: 12, $width: 58px, $gutter: 24px, $padding: 24px ) { | |
.pdp { | |
@include susy-grid-background; | |
@include container; | |
> .breadcrumbs { | |
@include span-columns( 12 ); | |
} | |
} | |
.pdp__images { | |
@include span-columns( 7 ); | |
} | |
.pdp__article { | |
@include prefix( 1 ); | |
@include span-columns( 4 omega ); | |
width: gutter() + columns( 4 ); | |
margin-left: -#{gutter()}; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment