Specificity
specificity notation
๐ CSS Specificity Calculator (CodeCaptain)
๐ ๏ธ CSS Explain
๐ CSS Specificity (CSS-tricks)
selector
ID
class
tag
notation
html body header h1
4
0, 0, 4
body header.my h1
1
3
0, 1, 3
.my .title
2
0, 2, 0
#title
1
1, 0, 0
Last updated