B
B
BMaks_N12019-03-05 00:19:27
css
BMaks_N1, 2019-03-05 00:19:27

How much should we reduce the weight of selectors in css?

Hi all!
What is the best (optimal) way to build selectors in css?
What is the fastest way for the browser?
is it worth replacing all selectors (nesting from 2 to 3 levels) with classes, for example, as if you throw it according to BEM, in the same place, in theory, only classes are used, nothing else.
From the point of view of readability, it seems pure classes are more convenient, but is it really necessary?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question