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
:first-child pseudo class not working with extend #2809
Comments
I can't confirm your result: demo. |
Perhaps it's a gulp-task. I'll look into it tomorrow or early next week. Thanks. |
Maybe this can help. |
Closing due to inactivity (seems like not a Less issue anyway). |
@seven-phases-max I believe code, provided above, exactly reproduce this issue. less
generated css
expected css:
missing part
|
@ivan-nikitovic Nope, see the difference between |
@seven-phases-max this has sense. :-) Thanks for the reference. |
I am using the following code:
In the less file I have the following structure:
In the output file, the css for .menu and .menu:after show up. But NOT the code for .menu:first-child or .menu:last-child.
If, however, I change .menu:first-child or .menu:last-child to .menu:first and .menu:last then the css code will show up.
It seems that the hyphen is the problem.
Any idea how to fix this?
Thanks.
The text was updated successfully, but these errors were encountered: