Answer the question
In order to leave comments, you need to log in
How to correctly name classes according to Bam?
Hello. There is the following structure:
.sidebar>.sidebar__page-header> and further in this element there is a logo block inside which there are 3 more elements. Since there is no element element in Bam, there is probably an element block, which is the logo block relative to .sidebar__page-header. What is the correct way to designate this structure according to Bam?
.sidebar_page-header-logo? And inside .sidebar__page-header-logo__img? Am I thinking right? Or is it easier to use the cascade once, make .sidebar .page-header__logo?
Answer the question
In order to leave comments, you need to log in
there is an element block
<div class="sidebar">
<div class="sidebar__page-header-logo logo">
<div class="logo__img"></div>
<div class="logo__element2"></div>
<div class="logo__element3"></div>
</div>
</div>
.sidebar
.sidebar__page-header-logo.logo
.logo__img
.logo__element2
.logo__element3
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question