-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When using @media bubbling, @extend requires a local selector #96
Comments
got some reports on twitter about this too. @nex3 any ideas what's the cause? |
I'm trying to @extend a markup element inside a "smaller screen" media query, in order to have it inherit different 960.gs container_xx properties. It seems I'm not able to achieve this... |
Inheritance is global. If you want to scope your styles you have to inherit from a class in a media block -- not the other way around. |
This is a tricky one. @imathis, in your example, the line you say works fine doesn't actually do what it seems like it should. For example:
compiles to
with no
which doesn't uphold Since any use of |
@nex3, It's very natural to want to use |
Yeah, this is definitely one of those times where what we really want is browser-based Edit: Actually I'll just open a fresh issue. |
Fresh issue opened as #154. Closing this one. |
The text was updated successfully, but these errors were encountered: