🎨 CSS Specificity Calculator

Enter a CSS selector to calculate its specificity value and understand weight rules

πŸ“ Enter Selector

πŸ“– CSS Specificity Quick Reference

SelectorWeightExample
!importantHighestcolor:red!important
Inline(1,0,0,0)style="color:red"
ID(0,1,0,0)#header
Class/Attr/:pseudo(0,0,1,0).btn, [type], :hover
Element/::pseudo(0,0,0,1)div, ::before
Universal *(0,0,0,0)*