DEV Community


Discussion on: Learning about CSS architecture

grasmachien profile image

Not at all. Just make sure to structure your scss files in a good way and give logical named to classes and ID'S.

BEM is a good practice to use in big teams. You could and should use it in other architectures as well.

I will admit it takes a bit more thought beforehand to do it right. But you can prevent a lot of duplicate code this way.

IMO scoped css makes people lazy and they are going to make a big mess because it does not break anything.
It does however break the ability to quickly change your styles.