Created
March 26, 2012 11:50
-
-
Save mahemoff/2204608 to your computer and use it in GitHub Desktop.
Responsive SASS/Bootstrap
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
// see http://thesassway.com/intermediate/responsive-web-design-part-2 | |
@media only screen and (max-width: 480px) | |
@content | |
@else if $media == desktops | |
@media only screen and (min-width: 480.1px) | |
@content | |
@else if $media == max-screens | |
@media only screen and (min-width: 1210px + 2*$main-padding + 2*$grid-width + 0.1) | |
@content | |
@else if $media == sub-max-screens | |
@media only screen and (min-width: 1210px + 2*$main-padding + 2*$grid-width + 0.1) | |
@content | |
@else if $media == big-screens | |
@media only screen and (min-width: 1210.1px) | |
@content | |
@else if $media == sub-big-screens | |
@media only screen and (max-width: 1210px) | |
@content |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment