BEM
BEM: Block Element Modifier
The Block, Element, Modifier methodology (commonly referred to as BEM) is a popular naming convention for classes in HTML and CSS. Developed by the team at Yandex, its goal is to help developers better understand the relationship between the HTML and CSS in a given project.
Shopping Cart Example
- Shopping Cart Item Selected
- Shopping Cart Item
- Shopping Cart Item