VS Code: Learn about CSS selector specificityLast updated: 4th April 2023
In VS Code, there is a tooltip that shows you the CSS selector specificity which is helpful for learning, and debugging your CSS.
To try this out
- Open a CSS file in VS Code.
- Hover over a CSS selector and observe the specifity tooltip.
There are also online specificity calculators such as: https://specificity.keegan.st/