Skip to content
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

Allow usage of & at the end of a selector #464

Closed
jleclanche opened this issue Jul 29, 2012 · 2 comments
Closed

Allow usage of & at the end of a selector #464

jleclanche opened this issue Jul 29, 2012 · 2 comments

Comments

@jleclanche
Copy link

Example:

.container {
    .element {
        background-color: blue;
        .active& {
            background-color: red;
        }
    }
}

Would result in:

.container .element {
    background-color: blue;
}

.active.container .element {
    background-color: red;
}

Right now it's a syntax error.

@jleclanche
Copy link
Author

This is kind of an addendum to issue #286

@nex3
Copy link
Contributor

nex3 commented Jul 30, 2012

This will be covered by the changes in #286.

@nex3 nex3 closed this as completed Jul 30, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants