免费 · 开发
CSS 选择器优先级.
计算每个选择器的 CSS 优先级(ID、类、类型)。
LOCAL PROCESSING · NO ACCOUNTUpdates as you type
使用CSS 选择器优先级的步骤
输入数据或选择文件,调整设置并生成结果。复制或下载之前,请检查结果。
限制与支持格式
输入内容在您的设备上处理。
英语技术说明
At most 100 selectors and 10,000 characters. Layers, origin, importance and source order also affect the cascade.
Calculate ID, class and type specificity for each selector. At most 100 selectors and 10,000 characters. Layers, origin, importance and source order also affect the cascade. Input remains in this browser page.
Run the editable example to inspect the result.