Created
August 6, 2013 21:01
-
-
Save starryeyez024/6168597 to your computer and use it in GitHub Desktop.
Breakpoint with IE8 Compatibility
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
@import "compass"; | |
@import "breakpoint"; | |
$tablet: 500px; | |
$desktop: 960px; | |
@mixin desktop { | |
@include breakpoint($desktop) { | |
@content; | |
} | |
.old-ie & { | |
@content; | |
} | |
} | |
////////////////////////////////////////////////////////////////////////////////////////////// | |
// EXAMPLE STYLES | |
#footer .menu-block { | |
width: 96%; | |
margin: 0 2%; | |
@include desktop { | |
width: 29.5%; | |
background: gray; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment