Contents
What is CSS methodology?
CSS methodologies are formal, documented systems for authoring CSS in a way that allows us to develop, maintain and scale the front-end as a set of small, isolated modules. Rather than as one massive lump of indivisible code.
Is a BEM good?
Another smart part of BEM is that everything is a class and nothing is nested. That makes CSS specificity very flat and low, which is a good idea. BEM is extraordinarily useful for constructing scalable and maintainable interfaces where everyone on the team should have a clear idea of how things can be improved.
What’s the difference between SMACSS, Bem, and OOCSS?
Since OOCSS is an abstract coding methodology, BEM is a concrete application of OOCSS, and SMACSS is an OOCSS-focused organizational structure, they actually play together very nicely–especially when you throw Sass into the mix. Each of our applications have a core style.scss file, which includes several partials.
What does SMACSS stand for in CSS category?
SMACSS which stands for Scalable and Modular Architecture for CSS is a set of guidelines to categorize your CSS rulesets to make the CSS codebase scalable and modular. It is not a technology or utility, it’s just a set of some golden rules or you can say guidelines to write your CSS.
What does the BEM mean in CSS architecture?
BEM or Block-Element-Modifier is a methodology which tells how to properly give naming conventions to your CSS classes. This will lead to the creation of modular and reusable UI components. Block are standalone entities that are meaningful on its own.
How to organize CSS with a modular architecture?
So SMACSS is about more than how to organize CSS properties: its main advantage is modularity. If you follow these guidelines, your HTML/CSS can be easily implemented in any of the major JS frameworks, since it already follows the conceptual structure. My goal is simple: organized, maintainable CSS.