We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
An example:
@custom-selector :--buttons button, .button; :--buttons:matches(:hover, :active) { display: none; }
postcss-custom-selectors would generate:
postcss-custom-selectors
button:matches(:hover, :active), .button:matches(:hover, :active) { display: none; }
From this, postcss-selector-matches would generate:
postcss-selector-matches
button:hover, .button:hover, button:active, .button:hover, button:hover, .button:active, button:active, .button:active { display: none; }
Shouldn't the output be close to something like this instead?
button:hover, button:active, .button:hover, .button:active { display: none; }
This gets worse if you're trying to match at lot of things like :matches(:hover, :active, :focus, .active).
:matches(:hover, :active, :focus, .active)
The text was updated successfully, but these errors were encountered:
fcd0a36
Fix released as 1.1.1
Sorry, something went wrong.
No branches or pull requests
An example:
postcss-custom-selectors
would generate:From this,
postcss-selector-matches
would generate:Shouldn't the output be close to something like this instead?
This gets worse if you're trying to match at lot of things like
:matches(:hover, :active, :focus, .active)
.The text was updated successfully, but these errors were encountered: