-
Notifications
You must be signed in to change notification settings - Fork 1.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
Be able to place @imports within CSS 3 Media Queries #302
Comments
What version of sass are you using? I think this should work in the alphas. Chris Hunt & pecked on my iPhone... Sorry if it's brief! On Mar 16, 2011, at 11:49 PM, adambomreply@reply.github.com wrote:
|
Version 0.10.6 Is this that the alpha, or should I fetch from the source? There's nothing new from Gem. Running osx 10.6.1 |
This is implemented in Sass 3.1, you can upgrade to the latest alpha if you need this feature. |
Thanks. I still get the same error, even with 3.1.0.alpha.249 (bleeding Adam On Thu, Mar 17, 2011 at 7:42 AM, chriseppstein <
|
This currently returns an error at compile time when I try to include a partial partials/grid_overlay within a CSS 3 Media Query tag:
/// For Example ///
I want to generate the following CSS, which should display a different stylesheet for each of three screen resolutions (1024 and below, 1025-1599, and 1600+). I'm using the blueprint library in my project. Within a media query, I want to set the $blue-print-grid width to be one of three widths, depending on the screen resolution. I would then @include base and @include the blueprint/grid component, which calculates the width of all my design elements at compile time. This generates one CSS file with three media queries and styles embedded within, specific to the designated screen resolution. Like so:
/// Steps to reproduce: ///
Compile the project from above using the blueprint library
/// How to solve ///
I think this could be at the compiler level. I don't know Ruby well enough to fix this myself
/// Related stackoverflow issue ///
http://stackoverflow.com/questions/5305952/how-to-use-sass-logic-within-a-css-3-media-query
I opened this yesterday
The text was updated successfully, but these errors were encountered: