You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.
The Problem is, that he can't compile the &-- selector. The &__ is working. I get this error:
{ [Error: Invalid CSS after " }": expected "}", was "&--{"]
formatted: 'Error: Invalid CSS after " }": expected "}", was "&--{"\n on line xx of scss/general.scss\n>> }\n -----^\n',
message: 'Invalid CSS after " }": expected "}", was "&--{"',
It also works with &--footer and &--header, but not with &--{...}
Is there a workaround available? I thought in an older version of node sass it's working.
OS: OSX 10.11.2
The text was updated successfully, but these errors were encountered:
When I write BEM-Syntax I usually use .class__element and .class--modifier. For Example:
So, now I have a possibility to change styles for header and footer individiual. The SCSS-Code would look like this:
The output would be:
The Problem is, that he can't compile the &-- selector. The &__ is working. I get this error:
{ [Error: Invalid CSS after " }": expected "}", was "&--{"]
formatted: 'Error: Invalid CSS after " }": expected "}", was "&--{"\n on line xx of scss/general.scss\n>> }\n -----^\n',
message: 'Invalid CSS after " }": expected "}", was "&--{"',
It also works with &--footer and &--header, but not with &--{...}
Is there a workaround available? I thought in an older version of node sass it's working.
OS: OSX 10.11.2
The text was updated successfully, but these errors were encountered: