.shape { … } .shape__text { color: white; font-size: 16px; } .shape—big-square { … } .shape—small-square { … } .shape—rounded-rectangle { … } .shape—yellow { … } .shape—circle { … } .shape—has-text { —shape-height: initial; —shape-width: initial; }
<div class=”shape”></div> <div class=”shape shape—big-square”></div>
<div class=”shape shape—small-square”></div <div class=”shape shape—circle shape—big-square shape—yellow”></div>
<div class=”shape shape—rounded-rectangle”></div> <button class=”shape shape—has-text”> <a href=”” class=”shape__text”></a> </button>