Instantly share code, notes, and snippets.

Embed
What would you like to do?
Example of BEM
<div class="article article--sticky">
<h2 class="article__title">This is an article title</h2>
<div class="article__content">
<p>A small description goes here.</p>
</div>
</div>
<div class="article">
<h2 class="article__title">This is an article title</h2>
<div class="article__content">
<p>A small description goes here.</p>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment