Created
October 25, 2013 08:28
-
-
Save TexRx/7151360 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
// Sass v3.2.7 | |
// Susy v1.0.5 | |
@import "susy"; | |
@mixin respond-to($primary) { | |
@if $primary == small { | |
@media screen and (min-width: 500px) { | |
$total-columns: 12; | |
@content; | |
} | |
} | |
@else if $primary == large { | |
@media screen and (min-width: 900px) { | |
$total-columns: 2; | |
@content; | |
} | |
} | |
} | |
@include respond-to(small) { | |
div { | |
@include span-columns(1) | |
} | |
} | |
@include respond-to(large) { | |
div { | |
@include span-columns(1) | |
} | |
} |
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
@media screen and (min-width: 500px) { | |
div { | |
width: 6.77966%; | |
float: left; | |
margin-right: 1.69492%; | |
display: inline; | |
} | |
} | |
@media screen and (min-width: 900px) { | |
div { | |
width: 44.44444%; | |
float: left; | |
margin-right: 11.11111%; | |
display: inline; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment