How does BEM work with Bootstrap´s .container
and .row
classes? Say if I have a block called .design-news
with a background image that spans the entire page and then a .container
and .row
under that block which would center my content, can I just keep the default classes or does it have to be .design-news__container
and .design-news__row
?
You may keep default classes, consider them as separate blocks.
OK so they not considered part of the block then right? Just so I understand you correctly.
Is the OK way with BEM?
yes, they are blocks by them selves.
but you may mix them to semantic blocks as well:
Perfect! Thank you so much for the awesome help!