Why I use the BEM naming convention for my CSS
If you've watched any of my recent videos, you'll know that I use the BEM naming convention for my CSS classes. In this video, I explore why I use it, and why I think you should, at the very least, use some sort of naming convention. BEM stands for Block, Element, Modifier, and it presents us with a way to make more organized and readable CSS. I like BEM (mostly, I'm not super strict with my use of it) and think it's a great methodology for naming my CSS classes, but there are many others such as OOCSS, SMACSS, Atomic, and many others. BEM isn't the right answer, it's simply one possible answer. I strongly suggest you read up on the others as well and try to adopt one that you think makes the most sense. BEM: http://getbem.com/introduction/ OOCSS: http://oocss.org/ SMACSS: https://smacss.com/ Atomic CSS: https://github.com/nemophrost/atomic-css #fiveminutefriday --- I have a newsletter! https://www.kevinpowell.co/newsletter New to Sass, or want to step up your game with it? I've got a course just for you: https://www.kevinpowell.co/learn-sass --- My Code Editor: VS Code - https://code.visualstudio.com/ How my browser refreshes when I save: • How to automatically refresh your browser ... --- Support me on Patreon: / kevinpowell I'm on some other places on the internet too! If you'd like a behind the scenes and previews of what's coming up on my YouTube channel, make sure to follow me on Instagram and Twitter. Instagram: / kevinpowell.co Twitter: / kevinjpowell Codepen: https://codepen.io/kevinpowell/ Github: https://github.com/kevin-powell

Flexbox or grid - How to decide?

Learn CSS BEM (and avoid these common mistakes)

Mastering BEM Naming for CSS Beginners

Stop using @import with Sass | @use and @forward explained

5 CSS mistakes that I see way too often

The Only CSS Layout Guide You'll Ever Need

The Block Element Modifier (BEM) Naming Convention (Methodology) - CSS Tutorial

BEM 101: How to Make Web Design Organized & Scalable

Become a CSS Position Pro! Learn EVERYTHING You Need to Know In Detail 🔍

Learn CSS Position In 9 Minutes

min(), max(), and clamp() are CSS magic!

Learn flexbox the easy way

10 CSS Pro Tips - Code this, NOT that!

How to Organize CSS | Beginners BEM tutorial

Instant Focus Mode – 40Hz Gamma Brainwave Music for Deep Focus & Productivity

Flow State Music | No Lyrics Creative Flow Music - Ultimate Work Flow Music For Focus Mode

How to write Semantic CSS

40Hz Binaural Gamma Waves - Ultra Deep Concentration

Handy CSS layout patterns, and fun ways to elevate them

