Sections
specificity
1 thread tagged with this topic
Threads tagged specificity
- ✓
Why is my CSS rule ignored? How does specificity decide which rule wins?
When two rules set the same property on one element, the browser scores each selector and the higher score wins. An id counts most, then classes, attributes...
0replies