DEV Community

Discussion on: How CSS Specificity Works🤹🏼‍♀️

Collapse
 
andrewlucker profile image
Andrew Lucker

Had to research this one. Specificity is a multi-digit ordinal with the four ranks you listed. For example: 0,1,0,4

smashingmagazine.com/2007/07/css-s...

Previously I thought it was a weighted floating point number, but that is wrong. Thanks for the clarification.

Collapse
 
sait profile image
Sai gowtham • Edited

Thanks for your comment 🤗🤗