Answer the question
In order to leave comments, you need to log in
Question about CSS architecture?
Hello! There is SMACSS, OOCSS, Atomic and so on. Where you create parts, and blocks from parts, from page blocks. And it is implemented like this:
<aside class"sidebar push-left clearfix m-bottom-0"></aside>
.sidebar {
margin-bottom: 0;
@extend %siderbar-base-style;
@extend %clearfix;
}
Answer the question
In order to leave comments, you need to log in
Look at the example of this article on Habré . This is how I organize the system.
I am not a high-class specialist in this matter, but I tend to trust the opinion of people with extensive experience in the field and working on large projects with a complex structure, and they say that BEM is useful, but it is difficult to learn how to use it correctly, which is why haters (non-powerers) appear.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question