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

getting warning "no-invalid-css" when using select >, ~, + inside :has #362

Open
xd1gital opened this issue Jun 29, 2024 · 2 comments
Open

Comments

@xd1gital
Copy link

xd1gital commented Jun 29, 2024

image

Here is the code to test

css`
  div:has(+ .test) {  
    display: flex
  }
  div:has(> .test) {
    display: flex
  }
  div:has(~ .test) {
    display: flex
  }`
@andrewgtibbetts
Copy link

#315

@itsmebasti
Copy link

@xd1gital in case you still need a fix, I added a workaround to #315

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