|
|
|
|
|
by aidos
884 days ago
|
|
Interesting idea. I’ve seen people get very confused by thinking that adding them in a certain order to the element would give some sort of control. Which order do they do it in? Later classes are later in the css so more likely to be applied? |
|
https://developer.mozilla.org/en-US/docs/Web/CSS/Specificity
> If the competing selectors have the same values in all the three columns, the proximity rule comes into play, wherein the last declared style gets precedence.