Element

Estimated reading time: 1 minute

Element

Element is the part of block . A block has one or more element . element system is __element double underscore.

<!-- `search-form` block -->
<form class="search-form">
    <!-- `input` element in the `search-form` block -->
    <input class="search-form__input">

    <!-- `button` element in the `search-form` block -->
    <button class="search-form__button">Search</button>
</form>
css, bem, ui, ux