Andrey Mikhaylov (lolmaus)
Andrey Mikhaylov (lolmaus)
I find myself doing this all the time: ``` css $var: value; foo: $var; bar: $value; ``` It's utterly annoying. So bump.
It ain't closed. But nobody is working on it either.
@cimmanon is absolutely right that `calc()` can't be used in projects that require maximum browser coverage. I'm not using it for this reason in any of my projects. But this...
@csdco, this shouldn't be so. Can you elaborate on your environment, versions, etc?
Use interpolation, @maranomynet: ``` scss .bar { foo#{&} { color: baz; } } ``` Demo: http://sassmeister.com/gist/da2394d0d28b0fe95d59 Works in Sass 3.4.
It's not a hack, it's the way meant to be done. > ...is not the desired CSS. In this case, use the `@at-root` directive: ``` scss .bar { @at-root foo#{&}...
Using the `&` parent selector without interpolation was a temporary feature in Sass 3.3, it is now deprecated. Sass follows strict logic for how the parent selector works. It is...
I might be wrong about the deprecation status. Unfortunately, @chriseppstein [did not](https://github.com/sass/sass/issues/1424#issuecomment-55002054) explain the [differences](http://sassmeister.com/gist/a9a9a2edf2b43623a72d) in behavior between the normal and interpolated parent selector. I believe it might be as...
@nex3, thank you for clarifications. But don't you agree that ``` .bar { @at-root #{selector-append(foo, &)} { color: baz; } } ``` Is way too much typing, compared to LESS'...
Thank you for changing your mind, @nex3. People keep stumbling upon this: https://github.com/sass/sass/issues/1436