December 13, 2017 05:58 pm GMT
Original Link: https://css-tricks.com/abem-useful-adaptation-bem/
ABEM. A more useful adaptation of BEM.
BEM (Block Element Modifier) is a popular CSS class naming convention that makes CSS easier to maintain. This article assumes that you are already familiar with the naming convention. If not you can learn more about it at getbem.com to catch up on the basics.
The standard syntax for BEM is:
block-name__element-name--modifier-name
I'm personally a massive fan of the methodology behind the naming convention. Separating your styles into small components is far easier to maintain than having a sea of …
ABEM. A more useful adaptation of BEM. is a post from CSS-Tricks
Original Link: https://css-tricks.com/abem-useful-adaptation-bem/
Share this article:
Tweet
View Full Article