Skip to content
This repository has been archived by the owner on May 5, 2022. It is now read-only.

Ampersand trickery not supported #15

Open
ricksbrown opened this issue Apr 1, 2016 · 1 comment
Open

Ampersand trickery not supported #15

ricksbrown opened this issue Apr 1, 2016 · 1 comment

Comments

@ricksbrown
Copy link

In native sass we can compile this:

div.layout {
    &50 {
        width: 50%;
    }
    &100 {
        width: 100%;
    }
}

To get this:

div.layout50 {
  width: 50%; }
div.layout100 {
  width: 100%; }

For the same input Vaadin sass-compiler gives us an exception:

org.w3c.css.sac.CSSParseException: encountered "50". Was expecting one of: "," "[" "%" "." ":" "{" <HASH> "." "%" <HASH> ":" "[" "," "{"'
@leafchild0
Copy link

Missing this feature very much. Are there any updates on that?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants