---
title: "Discussion on \"Introduction to BEM (Block Element Modifiers)\" | Hashnode"
description: "Discussion on \"Introduction to BEM (Block Element Modifiers)\". Naming classes in CSS has always been difficult for me. Luckily a few months ago I came across the BEM naming convention. A naming convention is an agreed style for naming things(in this case CSS). There are different CSS naming conventions available..."
url: "https://hashnode.com/posts/introduction-to-bem-block-element-modifiers/5f80207ecd9ea60c848cc1a3"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Introduction to BEM (Block Element Modifiers)](https://gift.hashnode.dev/introduction-to-bem-block-element-modifiers?utm_source=hashnode&utm_medium=feed)

Naming classes in CSS has always been difficult for me. Luckily a few months ago I came across the BEM naming convention. A naming convention is an agreed style for naming things(in this case CSS). There are different CSS naming conventions available...

Oct 9, 2020 · 2 min read · gift.hashnode.dev  
Updated Sep 29, 2022  
Read the article

-   [#css3](https://hashnode.com/tag/css3)
-   [#programming-ciovqvfcb008mb253jrczo9ye](https://hashnode.com/tag/programming-ciovqvfcb008mb253jrczo9ye)
-   [#frontend-development](https://hashnode.com/tag/frontend-development)

## Written by

[Broma Gift](https://hashnode.com/@Broma)

@Broma · Port Harcourt, Nigeria

  
[View profile](https://hashnode.com/@Broma)

frontend developer

Hello, i'm gift and I am a frontend developer.

## Responses 4

Markdown supported · ⌘↵ to post

[Bernard Arhia](https://hashnode.com/@Everich)

[Nov 19, 2020](https://hashnode.com/posts/introduction-to-bem-block-element-modifiers/5f80207ecd9ea60c848cc1a3/comment/5fb6c13a08ea5d7167d703a7)

I mostly do this wrong lol. Thanks for the correction.

I mostly do:

.showcase\_\_header-content

instead of .showcase-header\_\_content

[Broma Gift](https://hashnode.com/@Broma)

[Nov 19, 2020](https://hashnode.com/posts/introduction-to-bem-block-element-modifiers/5f80207ecd9ea60c848cc1a3/comment/5fb6c13a08ea5d7167d703a7#reply-5fb6e0e9ba1e08716c77e3bf)

Glad I could be of help

[sam sam](https://hashnode.com/@guru673)

[Jan 28, 2023](https://hashnode.com/posts/introduction-to-bem-block-element-modifiers/5f80207ecd9ea60c848cc1a3/comment/5fb6c13a08ea5d7167d703a7#reply-63d4de7e538ca426834347f2)

not good idea

[sam sam](https://hashnode.com/@guru673)

[Jan 28, 2023](https://hashnode.com/posts/introduction-to-bem-block-element-modifiers/5f80207ecd9ea60c848cc1a3/comment/5fb6c13a08ea5d7167d703a7#reply-63d4dee7c1957326b4034647)

[Broma Gift](https://hashnode.com/@Broma) how to name elements of element in bem css

[Joy Nwaiwu](https://hashnode.com/@joynwaiwu)

[Oct 30, 2020](https://hashnode.com/posts/introduction-to-bem-block-element-modifiers/5f80207ecd9ea60c848cc1a3/comment/5f9c9ae965cd015fab581612)

This is great!

[Bell Omuboye](https://hashnode.com/@bellomuboye)

[Oct 14, 2020](https://hashnode.com/posts/introduction-to-bem-block-element-modifiers/5f80207ecd9ea60c848cc1a3/comment/5f867e0a4f98e64389436050)

I love the mention of SCSS. Together with BEM methodology, they help one write more modular codes.

Great article.

[Broma Gift](https://hashnode.com/@Broma)

[Oct 14, 2020](https://hashnode.com/posts/introduction-to-bem-block-element-modifiers/5f80207ecd9ea60c848cc1a3/comment/5f867e0a4f98e64389436050#reply-5f86b9554f98e643894364ee)

Thanks Bell

[Miracle Gabriel](https://hashnode.com/@sixpathdev)

[Oct 9, 2020](https://hashnode.com/posts/introduction-to-bem-block-element-modifiers/5f80207ecd9ea60c848cc1a3/comment/5f8032016acf6c0ee9067f9c)

Cool explanation. A lot easier to understand

[Broma Gift](https://hashnode.com/@Broma)

[Oct 9, 2020](https://hashnode.com/posts/introduction-to-bem-block-element-modifiers/5f80207ecd9ea60c848cc1a3/comment/5f8032016acf6c0ee9067f9c#reply-5f8033676acf6c0ee9067fba)

thank you
