Skip to content

Instantly share code, notes, and snippets.

@starryeyez024
Created August 6, 2013 21:01
Show Gist options
  • Save starryeyez024/6168597 to your computer and use it in GitHub Desktop.
Save starryeyez024/6168597 to your computer and use it in GitHub Desktop.
Breakpoint with IE8 Compatibility
@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