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

Lucius and Cassius & not documented #246

Open
BebeSparkelSparkel opened this issue Dec 18, 2019 · 0 comments
Open

Lucius and Cassius & not documented #246

BebeSparkelSparkel opened this issue Dec 18, 2019 · 0 comments

Comments

@BebeSparkelSparkel
Copy link

BebeSparkelSparkel commented Dec 18, 2019

The &, as in sass, allows nested classes for the same element selector.

div
  &.some-class
    font-size: 1em
  &.some-other-class
    font-size: 2em

results in

div.some-class {font-size: 1em;}
div.some-other-class {font-size: 2em;}
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

1 participant