BEM

BEM

JavaScript Frameworksยทen.bem.info โ†—

BEM stands for Block Element Modifier. It is regarded as a simple and effective methodology that enables the user to use the components effectively and share the code in the process of front-end development. It is known for its simple design and easy usage. It is designed to be modular and comes with independent blocks and CSS selectors. It is one of the most widely preferred modular solutions available for all front-end technologies. BEM is known for its high degree of flexibility. It provides a higher level of readability for the front-end code. It is designed to be easily scalable as well. It comes with a proper naming convention that enables users to make design changes conveniently.

4,508
websites using BEM
Create a technology report โ†’
Export with emails, socials, country, TLD and industry filters
Websites using BEM by countrymarket share ยท top 8 countries
๐Ÿ‡ท๐Ÿ‡บRussian Federation
78%
๐Ÿ‡ง๐Ÿ‡พBelarus
1.9%
๐Ÿ‡ง๐Ÿ‡ชBelgium
1.7%
๐Ÿ‡ฐ๐Ÿ‡ฟKazakhstan
1%
๐Ÿ‡ญ๐Ÿ‡บHungary
0.3%
๐Ÿ‡จ๐Ÿ‡ญSwitzerland
0.2%
๐Ÿ‡ฒ๐Ÿ‡ณMongolia
0.2%
๐Ÿ‡ฌ๐Ÿ‡งUnited Kingdom
0.2%
0%20%40%60%80%
Websites using BEM by industrydetected industries
Technology & Computing ยท 33%Education ยท 24%Construction ยท 13%Software Development ยท 11%Travel ยท 10%Manufacturing & Industrial ยท 8.9%MARKETSHARE
Technology & Computing33%
Education24%
Construction13%
Software Development11%
Travel10%
Manufacturing & Industrial8.9%

Websites using BEM

showing 25 of 4,508
WebsiteCountryIndustrySizeFounded
Showing 25 of 4,508 websitesGet the full list โ†’

Frequently asked

What is BEM?โ€บ
BEM (Block, Element, Modifier) is a methodology for organizing and structuring HTML and CSS code in projects for easier maintainability and scalability. It provides a standardized naming convention for classes in HTML, allowing developers to quickly understand the structure and relationship between different components of the website.
Why should I use BEM?โ€บ
BEM offers several benefits such as increasing code readability, providing a consistent and modular structure, and facilitating teamwork. It ensures efficient and manageable code by eliminating potential conflicts while making it faster and easier to update and maintain the codebase.
What are the three components of the BEM naming convention?โ€บ
The three components in BEM are Blocks, Elements, and Modifiers. Blocks represent the main component, Elements are the parts of a block, and Modifiers are used to mark the variations in appearance or behavior of a block or an element.
How do I differentiate between blocks, elements, and modifiers in BEM?โ€บ
In BEM, blocks and elements are separated by a double underscore (__), while modifiers are separated by double hyphens (--). For example, a block named "header", an element within it named "logo", and a modifier for the logo named "small" would be represented as "header__logo--small".
Can I use BEM with my preferred CSS preprocessor, such as SASS or LESS?โ€บ
Yes, BEM methodology can be used alongside any CSS preprocessor without any conflicts. In fact, combining BEM with a preprocessor can enhance organization and maintainability further by leveraging features like nesting, mixins, and variables.

Get the free browser extension

Identify the technology stack of any website instantly, right from your browser.