Combining Selectors for Specificity in CSS


Increase specificity by combining selectors, targeting elements that match all parts of the selector.

Source Code

div.highlight {
    border: 1px solid green;
}
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments