免费使用,无需账户
CSS Specificity Calculator
基于浏览器的免费工具。输入您的值并在此设备上获取结果。
Specificity results
该工具如何工作?
Enter up to 30 CSS selectors separated by commas. The tool counts IDs, classes, attributes, pseudo-classes and elements, and handles :where(), :is(), :not(), :has() and nth-child of-selector lists.
常见问题
该工具如何工作?
Enter up to 30 CSS selectors separated by commas. The tool counts IDs, classes, attributes, pseudo-classes and elements, and handles :where(), :is(), :not(), :has() and nth-child of-selector lists.
我的输入已上传吗?
否。处理在此浏览器中运行。此工具不会上传或保存您的输入。
Is CSS Specificity Calculator free to use?
是的。它在您的浏览器中是免费的,不需要帐户。设备内存和浏览器支持仍然适用。
这个结果有多准确?
This calculator covers common selector syntax; it is not a full CSS parser or cascade simulator. It does not evaluate cascade layers, importance, inline styles or stylesheet order. CSS nesting selectors are not supported.