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

&:extend doesn't behave as expected #2839

Closed
hawkerboy7 opened this issue Mar 11, 2016 · 3 comments
Closed

&:extend doesn't behave as expected #2839

hawkerboy7 opened this issue Mar 11, 2016 · 3 comments

Comments

@hawkerboy7
Copy link

I was trying to use &:extend but it doesn't work as I would expect.
Is this a bug or is it expected behaviour and/or not supported?
I expect .test to also extend .content--child but it doesn't.
example

@Justineo
Copy link
Contributor

http://lesscss.org/features/#extend-feature-extend-syntax
You can use &:extend(.content all) for your case. But if you only want to extend a concatenated selector, it seems not possible right now. See #2200.

@hawkerboy7
Copy link
Author

@Justineo thank you! I want to be able to extend concatenated selectors indeed. Too bad. Thank for the reference to issue 2200!

@seven-phases-max
Copy link
Member

Closing as duplicate of #2200.

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

3 participants