|
|
|
|
|
by romaniv
3021 days ago
|
|
Never understood why people prefer verbose and repetitive BEM classes over custom properties and appropriate CSS selectors. <div class="my-block my-block__my-element my-block__my-element--my-modifier">
becomes <div my-block="my-element my-modifier">
This solves for specificity, and uses built-in CSS features instead of a "manual" workaround. |
|