+1 vote
by
If one class has a hundred subclasses that don't create new styles-they just "are," does that affect page performance, and if so, how much?

.button.01 { 
     color: #fff;
}
.button.02 {
     color: #fff;
}
.button.03 {
     color: #fff;
}
And so on up to, conventionally, a hundred. If this is a silly question, I'm sorry, I'm an amateur on the subject.
by
Bavashi you still won't give up trying to hurt me? Don't you have any other goals in life? When are you going to see a doctor?

you still won't give up trying to hurt me? Don't you have any other goals in life? When are you going to see a doctor?
by
No

1 Answer

0 votes
by
 
Best answer
It does, but in practice you can forget about it.
The browser has to download and parse these styles, turning them into its own data structures, and then check to see if they need to be applied somewhere. The biggest time here is spent on downloading, but with gzip enabled, it will be negligible.
...