Last active
August 29, 2015 14:05
-
-
Save iamcarrico/0453ee0ca829e75b5f67 to your computer and use it in GitHub Desktop.
Simple Breakpoint Noquery fallback
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
| header { | |
| color: blue; | |
| } |
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
| /** | |
| * @file | |
| * Styles for IE 8 and lower. | |
| */ | |
| // Set the legacy IE support variables. | |
| $browser-minimum-versions: (ie: '7'); | |
| $graceful-usage-threshold: 0.1; | |
| $critical-usage-threshold: .01; | |
| // Force the breakpoint mixin to discard all media queries except ones with | |
| // $no-query set to true. | |
| $breakpoint-no-queries : true; | |
| $breakpoint-no-query-fallbacks : true; | |
| @import "style"; |
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
| <html> | |
| <head> | |
| <!--[if (gte IE 9)|(IEMobile)|(!IE)]><!--> | |
| <link rel="stylesheet" href="style.css"> | |
| <!--<![endif]--> | |
| <!--[if (lt IE 9)]> | |
| <link rel="stylesheet" href="is8-style.css" /> | |
| <![endif]--> | |
| </head> | |
| <body> | |
| </body> | |
| </html> |
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 (min-width: 500px) { | |
| header { | |
| color: blue; | |
| } | |
| } |
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
| @import "breakpoint"; | |
| @include breakpoint(500px, true) { | |
| header { | |
| color: blue; | |
| } | |
| } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment