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

:nth-child(even/odd of <selector>) errors #602

Open
Legion4444 opened this issue Nov 29, 2023 · 1 comment
Open

:nth-child(even/odd of <selector>) errors #602

Legion4444 opened this issue Nov 29, 2023 · 1 comment
Labels

Comments

@Legion4444
Copy link

Describe the bug
Cannot use :nth-child(even/odd of selector) where selector is anything other than a tag (.classes, #id, :not(), etc)

To Reproduce
Having something as simple as:
.test:nth-child(even of .test2) { background-color: white; }

My particular case has me doing something like:
.class:nth-child(even of .class:not(.class2)) { styles; }
Which works fine in the browser, but I can't actually use it since we use this to bundle/minify all our css.

Expected behavior
Should not result in errors.

Screenshots
image
image

@Legion4444 Legion4444 added the bug label Nov 29, 2023
@MattOpen
Copy link

@Legion4444 I am facing same issue at a client system. They work with B&M Version 2.8.396. Did you get the issue with newest version as well?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants