Layout — what is better — less CSS file, but longer class attributes. Or a shorter class, but more than a CSS file?

Hello! What better a time to write a lot of different classes in the CSS file (for example, left - float: left; right - float: right; and so on) and then just apply them to the html file. Or Vice versa - smaller classes, but more styles are in CSS file? That is what is better? In the first case, sometimes is sooo long class attribute. But it does not need to be repeated in CSS. And the second - on the contrary.
June 3rd 19 at 19:13
1 answer
June 3rd 19 at 19:15
Solution
what do you call - is the approach atomic css, not the most practical. Better than BEM or SMACSS

Find more questions by tags Layout