I'll give you two examples to clarify what I'm trying to say.
Example 1:
p {
font-family: Arial;
}
#id1 {
font-family: Arial;
}
.class1 {
font-family: Arial;
}
#id2 {
font-family: Arial;
}
.class2 {
font-family: Arial;
}
Example 2:
p, #id1, .class1, #id2, .class2 {
font-family: Arial;
}
Example 2 is a much more condensate and organized code and as far as I understand, the CSS parser of the browser will create a new branch in the rendering tree for every selector I create.
That means the browser has to work more in Example 1 and therefore it needs more time for processing the request. Is that correct?
If so, is that even relevant or quantifiable? Because I feel you should never write a code as written in Example 1 but I'm not sure how much this affects the final user.