Answer the question
In order to leave comments, you need to log in
Should CSS styles be constrained by ancestor id?
There is a web page that has a dozen or two view styles
#turns li.event-nextRound {
text-align: center;
font-weight: bold;
}
Answer the question
In order to leave comments, you need to log in
You can notice a significant difference in rendering speed only on a Pentium 200 without mmx. In other cases, this is the last thing to optimize, since the nesting depth of the tree house has more influence than how certain styles will be set.
Which styles you write to a selector affects performance, but to which selector it doesn't.
If you care about readability - use preprocessors and methodology.
Don't like BEM? Look towards AtomicCSS (tailwind and stuff)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question