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
CSStree-validator flags errors on usage of max() and min() on font-sizes and widths. Could you please explain why?
The text was updated successfully, but these errors were encountered:
Any updates on this?
Sorry, something went wrong.
Workaround:
.stylelintrc.json
{ "extends": "stylelint-config-standard-scss", "plugins": [ "stylelint-csstree-validator" ], "rules": { "csstree/validator": { "properties": { "font-size": "| min(<length-percentage>, <length-percentage>) | max(<length-percentage>, <length-percentage>)", "width": "| min(<length-percentage>, <length-percentage>) | max(<length-percentage>, <length-percentage>)" } }, "media-feature-range-notation": "prefix", "selector-class-pattern": null } }
No branches or pull requests
CSStree-validator flags errors on usage of max() and min() on font-sizes and widths. Could you please explain why?
The text was updated successfully, but these errors were encountered: