BEM
Block__Element--Modifier naming: `.card`, `.card__title`, `.card--featured`.
Easy
Flat, predictable class names with low specificity.
Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.
Discussion (0)
Sign in or join free to ask questions and discuss this topic.