Skip to content

Instantly share code, notes, and snippets.

@ewillhite
Last active December 23, 2015 22:08
Show Gist options
  • Save ewillhite/6700731 to your computer and use it in GitHub Desktop.
Save ewillhite/6700731 to your computer and use it in GitHub Desktop.
SASS mixin for ol' IE
@mixin desk {
@include media($desk) {
@content;
}
.old-ie & {
@content;
}
}
#logo {
@include desk {
background-size:auto;
background-position:0 0;
margin-top: 19px;
padding-top: 479px;
width: 339px;
}
}
@media screen and (min-width: 1024px) {
#logo {
background-size: auto;
background-position: 0 0;
margin-top: 19px;
padding-top: 479px;
width: 339px;
}
}
.old-ie #logo {
background-size: auto;
background-position: 0 0;
margin-top: 19px;
padding-top: 479px;
width: 339px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment