Created
May 10, 2012 20:38
-
-
Save dannyprose/2655737 to your computer and use it in GitHub Desktop.
Helping Danny understand Susy's responsive grids and breakpoints
This file contains 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
// Hey Eric, I'm hoping you can help me "get" the responsive part | |
// of Susy 1.0. I think I'm still a little unsure about it, and | |
// I'd like to make sure I'm implementing it correctly. | |
// Please feel free to adjust below into what should be a proper use case. | |
#main { | |
@include container; | |
section.nav { | |
@include span-columns(12); | |
//Say I want to make this a fixed element on mobile....Say IPhone dimensions in this example | |
} | |
} |
I think that cleared it up. Thanks man.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That's an advanced example. The default system is to simply add or remove columns without changing any other settings. I'd also recommend writing everything mobile-first.
You can change the grid settings any time you want, but there are no shortcuts for it. Takes a bit of work.