DEV Community

Jennifer Tieu
Jennifer Tieu

Posted on

Self-Taught Developer Journal, Day 39: BEM Methodology

Today I learned about the BEM or Block, Element, Modifier Methodology.

For some context, I discovered George Moller and his free slides on HTML and CSS. I was looking through them today and was curious about how he was naming his CSS selectors, the double hyphens in particular. I searched on Google and found out that its based on BEM naming.

BEM or Block, Element, Modifier Methodology is a popular naming convention used in HTML and CSS. I ended up reading through some resources on what BEM is and how its used. I'm still reading through it and learning, but I really like it so far. I also like George Moller's slides. His insight and tips are some good references to use on how to structure your HTML and CSS.

I'm hoping to finish going through his slides and learning more on the BEM methodology.

Resources

https://css-tricks.com/bem-101/
http://getbem.com/introduction/
http://getbem.com/naming/

Top comments (0)