Archive for id

You are browsing the archives of id.

How to Count CSS Specificity Scores and Leverage !Important Overrides

photo credit: laffy4k
If you are having difficulty getting a particular CSS style to “appear”, one thing to check is your specificity. CSS specificity is a four digit score for resolving cascade conflicts. You can actually add up the specificity score to determine which conflicting style should prevail. The four digit score is comprised of [...]

  • Share/Bookmark