VS Code: Learn about CSS selector specificity
Last updated: 4th April 2023Introduction
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.
More
There are also online specificity calculators such as: https://specificity.keegan.st/