-
-
Save daveredfern/23a34d8d67ba2b0d8e49 to your computer and use it in GitHub Desktop.
Example of BEM
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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