I am studying fruitfully BEM, and I am confused by the notion of "modifier". The basic BEM documentation from Yandex describes that the modifier can set the appearance, behavior, state, structure of the block, and shows how the modifier can be used using the button as an example, setting the state to disabled . It turns out that if I have a button in which the layout should change the appearance, or even the behavior (: hover,: focus), and also it should be disabled for example :disabled . And let's say after the user fills in all the required fields, the button will need to be turned on, that is, to add another state button_enabled . So I should have a code like:
<button class="button button_disabled button_enabled button_hover button_focus" type="button">Кнопка</button> Plus, I may have a block on the site, which should be hidden on the mobile version, it turns out that I need to add the block_hide modifier to all blocks that need to be hidden on the mobile version
<div class="block block_hide"></div> As a result, according to BEM, as I understand it is necessary to abandon pseudo-elements and pseudo-classes, and only use classes?