Created
March 1, 2012 04:51
-
-
Save jcroft/1947357 to your computer and use it in GitHub Desktop.
How easy responsive design can be with Sass
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
#content-wrapper | |
+container | |
#about | |
// Default (smallest screens) | |
+column(100%) | |
background-color: #ccc | |
// Respond to other screen widths | |
+respond-to(tablet) | |
width: 33.333% | |
+respond-to(desktop) | |
width: 25% | |
#primary-content | |
+column(100%) | |
+respond-to(tablet) | |
width: 66.666% | |
+respond-to(desktop) | |
width: 50% | |
#secondary-content | |
+column(100%) | |
display: none | |
+respond-to(desktop) | |
width: 25% | |
display: block |
This framework really isn't ready for prime time and is still under heavy development, so I haven't really documented it yet. Thanks!
…On Mar 24, 2012, at 9:25 AM, Mislav ***@***.*** wrote:
You forgot to mention it requires a prerelease of Sass (3.2.0.alpha). Tried it with stable and it exploded.
Otherwise, totally killer feature.
---
Reply to this email directly or view it on GitHub:
https://gist.github.com/1947357
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You forgot to mention it requires a prerelease of Sass (3.2.0.alpha). Tried it with stable and it exploded.
Otherwise, totally killer feature.