---
title: "Discussion on \"Use BEM for scalable and maintainable CSS\" | Hashnode"
description: "Discussion on \"Use BEM for scalable and maintainable CSS\". BEM CSS stands for Block Element Modifier, which is a CSS methodology to help you write maintainable CSS.\nHere's BEM's official website but keep reading for a brief overview.\nBEM Basics\nBEM takes a component-based approach to CSS development. It has ..."
url: "https://hashnode.com/posts/bem-css-scalable-maintainable/5f5d98c813599a5f2e33f97b"
---

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

Discussion

# [Use BEM for scalable and maintainable CSS](https://blog.tinaciousdesign.com/bem-css-scalable-maintainable?utm_source=hashnode&utm_medium=feed)

BEM CSS stands for Block Element Modifier, which is a CSS methodology to help you write maintainable CSS. Here's BEM's official website but keep reading for a brief overview. BEM Basics BEM takes a component-based approach to CSS development. It has ...

Sep 13, 2020 · 8 min read · blog.tinaciousdesign.com  
Updated Nov 14, 2021  
Read the article

-   [#css](https://hashnode.com/tag/css)
-   [#css3](https://hashnode.com/tag/css3)
-   [#css-frameworks](https://hashnode.com/tag/css-frameworks)

## Written by

[Tina Holly](https://hashnode.com/@tinaciousdesign)

@tinaciousdesign · Canada

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

👩🏻‍💻 Full Stack Software Developer

Hi, my name is Tina! I am a Full Stack Software Developer and Tech Lead from Canada. 🙋🏻‍♀️

## Responses 2

Markdown supported · ⌘↵ to post

[A Dominy](https://hashnode.com/@dominyza)

[Sep 15, 2020](https://hashnode.com/posts/bem-css-scalable-maintainable/5f5d98c813599a5f2e33f97b/comment/5f60c874c417c20b18b7201d)

Ok... but whats with the double underscores vs double hyphen convention? You said "more on this later"... dont keep a girl hanging?!

[Tina Holly](https://hashnode.com/@tinaciousdesign)

[Sep 15, 2020](https://hashnode.com/posts/bem-css-scalable-maintainable/5f5d98c813599a5f2e33f97b/comment/5f60c874c417c20b18b7201d#reply-5f60f4047317080b4cf5c586)

Hello! Yes, it's in the section on **Element** here: [blog.tinaciousdesign.com/bem-css-scalable-maintai…](https://blog.tinaciousdesign.com/bem-css-scalable-maintainable#e-element)

I realize I didn't explicitly state it and only showed examples, but this is the syntax:

```
.block__element--modifier
```

I've updated the blog post with this information to hopefully make this more clear.

Thanks for your feedback!

[A Dominy](https://hashnode.com/@dominyza)

[Oct 24, 2020](https://hashnode.com/posts/bem-css-scalable-maintainable/5f5d98c813599a5f2e33f97b/comment/5f60c874c417c20b18b7201d#reply-5f94741b40346172a86c1d6f)

Doh! [Tina Holly](https://hashnode.com/@tinaciousdesign)

[Chris Bongers](https://hashnode.com/@dailydevtips)

[Sep 13, 2020](https://hashnode.com/posts/bem-css-scalable-maintainable/5f5d98c813599a5f2e33f97b/comment/5f5df533ddc3fe5f4f24d8c6)

Thank you!

BEM is amazing, makes CSS so much more readable and easier for teams to understand what someone else made.

You'll also see it in Bootstrap/Tailwind

[Tina Holly](https://hashnode.com/@tinaciousdesign)

[Sep 13, 2020](https://hashnode.com/posts/bem-css-scalable-maintainable/5f5d98c813599a5f2e33f97b/comment/5f5df533ddc3fe5f4f24d8c6#reply-5f5e9b57ddc3fe5f4f24dd3f)

Thanks! Yes, I love BEM ever since I first learned about it. It brings some organization to an otherwise chaotic system. There's so much room to make a mess in CSS and BEM helps make CSS logical.

As for Bootstrap, I only like the SCSS version as it allows me to pick and choose the components I like, and even then I'll pretty much only use their grid, even though I have qualms with how it clears floats, using `overflow: hidden` which causes their overflowing components (like dropdowns) to get cut off... though I think since moving to flexbox this problem is now gone.

The opinionated global styles Bootstrap enforces for elements like [tables](https://github.com/twbs/bootstrap/blob/main/scss/_tables.scss#L5), form inputs, etc. are too opinionated and the concerns are poorly separated—when working with designers I find working with Bootstrap counter-productive and it requires overriding CSS with extreme levels of specificity as I briefly touch on in the blog post. I also like to keep my box model properties separate from my theme properties, and Bootstrap isn't very good at that as it imposes whitespace values along with theme styles. In my opinion, Bootstrap poorly separates those concerns.

I haven't yet had a chance to try Tailwind but it looks great! The ramp up looks like quite the commitment, though. I am currently writing a simply, utility-based CSS framework, so I can definitely appreciate the approach Tailwind is taking. I definitely prefer the ability to compose only the utilities that I need, e.g. specific colours, whitespace, etc. all from individual styles (as opposed to Bootstrap's component approach where it's all or nothing).
