has the following rules
h1,h2 {
color:red;
}
h2 {
color:blue;
}
The final h2 font color is blue , isn’t the former more targeted? (0.0.0.2 > 0.0.0.1)
In your case, the two h2 are parallel, but What is written at the end has greater weight than what is written at the front.
The author's weight is not calculated this way. Group selectors are convenient for setting multiple common styles
Please refer to the following
Weight and priority rules of CSS selectors
http://www.nowamagic.net/csszone/css_SeletorPriorityRules.php
CSS Grouping
http://www.w3school.com.cn/css/css_selector_grouping.asp