-
-
Save kilokeith/4392413 to your computer and use it in GitHub Desktop.
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
# In your compass config.rb, add the susy gem path to the requires - adjust for your own paths | |
# Require any additional compass plugins here. | |
require "/Users/keith/.rvm/gems/ruby-1.9.3-p194/gems/susy-1.0.5/lib/susy.rb" |
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
// Cool, then just include it with compass in SASS | |
@import 'compass/css3' | |
@import 'susy' | |
//Do some cool responsive grid shit | |
//example pulled from homepage - http://susy.oddbird.net/ | |
.ag1 | |
+span-columns(2,10) | |
.ag2 | |
+span-columns(6,10) | |
.ag3 | |
+span-columns(2 omega, 10) | |
.ag4 | |
+span-columns(3,6) | |
.ag5 | |
+span-columns(3 omega,6) | |
.ag6 | |
+span-columns(2,6) | |
.ag7 | |
+span-columns(4 omega,6) | |
.ag8 | |
+span-columns(2,4) | |
.ag9 | |
+span-columns(2 omega,4) | |
.ag10 | |
clear: both |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment