DEV Community

Jennifer Tieu
Jennifer Tieu

Posted on

2

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/

Heroku

Simplify your DevOps and maximize your time.

Since 2007, Heroku has been the go-to platform for developers as it monitors uptime, performance, and infrastructure concerns, allowing you to focus on writing code.

Learn More

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more