I thought about building a grid with a BEM-tree like this:
- grid
- grid__row
- grid__column-group
- grid__column
There is also content like this teaser block
- teaser
- teaser__thumbnail
- teaser__headline
- teaser__body
- teaser__link
If i like to display the teaser elements in different columns of the grid, it leads me to the following markup:
<div class="grid__column-group teaser">
<div class="grid__column">
<img class="teaser__thumbnail"/>
</div>
<div class="grid__column">
<h3 class="teaser__headline">...</h3>
<p class="teaser__body">..</p>
</div>
</div>
I'm just starting with BEM and this just feels flawed, because the styles of different blocks will affect each other.
Is that the correct way of handling? Any suggestion for a better solution?