Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
January 15, 2022 03:34 am GMT

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/


Original Link: https://dev.to/jennifer_tieu/self-taught-developer-journal-day-39-bem-methodology-6k3

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To