-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
"&" includes all parent selectors #3356
Comments
dreamerblue
changed the title
"&" includes all parents selectors
"&" includes all parent selectors
Jan 20, 2019
Something that is decided a decade ago and well documented can't be changed just because "it does not fit my particular use-case" (See #2395 (comment) for more details). There're purposes like #1075 that are meant to meant to target a wider range of selector shuffling incl ..your use-case. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Class name using "&" will include all parent selectors. Only current parent selector should be included.
It's so confusing. If it's an expected behavior, how to write less to output the expected css below?
Less Version: 3.9.0
Less
Output CSS
Expected CSS
The text was updated successfully, but these errors were encountered: