Answer the question
In order to leave comments, you need to log in
When to create a service block in BEM?
I have the following structure :
<div class="blog-hero-section__grid">
<div class="blog-hero-section__grid-item"></div>
<div class="blog-hero-section__grid-item"></div>
<div class="blog-hero-section__grid-item"></div>
</div>
Answer the question
In order to leave comments, you need to log in
I join the answer above - the design is easier.
You can do this:
<div class="hero-section__grid">
...
<div class="hero-item hero-section__hero-item">
<h2 class="hero-item__header">Hero Item 1</h2>
...
</div>
</div>
<div class="hero-section__grid">
...
<div class="hero-section__content">
<div class="hero-item">...</div>
</div>
<div class="hero-section__pagination">...</div>
<div class="hero-section__footer">...</div>
</div>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question