"If you're using BEM or similar methodologies, keep element selectors like .button__icon at the root level. The class name already describes the relationship, so nesting just adds specificity without adding clarity."

alwaystwisted.com/articles/UnS

YES! WordPress devs please note! ๐Ÿ™

0

If you have a fediverse account, you can quote this note from your own instance. Search https://social.lol/users/db/statuses/116199608328090755 on your instance and quote it. (Note that quoting is not supported in Mastodon.)