Answer the question
In order to leave comments, you need to log in
What is the best way to name a css class? What exactly should the css class name describe?
There is a navbar on the flexbox. The left part is compressed in it (a name that can be cut off) when there is little space, and the right part is not (pagination, which can be of different sizes in different cases).
Schematically:
<div class="navbar">
<div class="navbar__part">Длинное им..</div>
<div class=""navbar__part">1 2 3 4 5</div>
</div>
Answer the question
In order to leave comments, you need to log in
Essentially.
Mods are only needed when the same elements often take on a different look. Your pagination will always be the same. Don't abstract too much, it's a trap.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question