Skip to content

Instantly share code, notes, and snippets.

@pixelwhip
Created February 14, 2014 18:34
Show Gist options
  • Save pixelwhip/9006410 to your computer and use it in GitHub Desktop.
Save pixelwhip/9006410 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
<H2>Compass Browser Support</H2>
// ----
// Sass (v3.3.0.rc.3)
// Compass (v1.0.0.alpha.18)
// ----
@import "compass";
@import "compass/support";
body:after {
content: "Supports";
@include for-legacy-browser("ie", "7", $threshold: .437) {
content: "Threshold too high to support IE 7";
}
@include for-legacy-browser("ie", "7", $threshold: .435) {
content: "Threshold low enough to Support IE 7";
}
$browser-minimum-versions: (
'ie': "9"
);
@include for-legacy-browser("ie", "6", "7", $threshold: .435) {
content: "Threshold too high but minumum version already stated.";
}
}
body:after {
content: "Supports";
content: "Threshold low enough to Support IE 7";
content: "Threshold too high but minumum version already stated.";
}
<H2>Compass Browser Support</H2>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment