Skip to content

Instantly share code, notes, and snippets.

@kilokeith
Forked from anonymous/gist:4392401
Last active December 10, 2015 06:08
Show Gist options
  • Save kilokeith/4392413 to your computer and use it in GitHub Desktop.
Save kilokeith/4392413 to your computer and use it in GitHub Desktop.
# 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"
// 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