Skip to content

Instantly share code, notes, and snippets.

@procload
Created March 27, 2013 19:50
Show Gist options
  • Save procload/5257453 to your computer and use it in GitHub Desktop.
Save procload/5257453 to your computer and use it in GitHub Desktop.
Cannot use the "@extend .spanN;" within a media query in this version and future version of Sass.
.main-content {
@extend %container-fluid;
.content {
@extend .row-fluid;
}
.sidebar {
@include respond-to(47em) {
float: left;
@extend .span3; // Cannot use this type of @extend within a media query
}
} //sidebar
.main-article {
@include respond-to(47em) {
float: left;
@extend .span8; // Cannot use this type of @extend within a media query
@extend .offset1; // Cannot use this type of @extend within a media query
}
} //main-article
} //main-content
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment