Skip to content

Instantly share code, notes, and snippets.

@DaveOrDead
Created December 5, 2015 07:18
Show Gist options
  • Save DaveOrDead/184ca9f8eb8cc975c820 to your computer and use it in GitHub Desktop.
Save DaveOrDead/184ca9f8eb8cc975c820 to your computer and use it in GitHub Desktop.
BEM with a button
<div class="card">
<div class="card__header">
<h2 class="card__title">Title text here</h2>
</div>
<div class="card__body">
<img class="card__img" src="some-img.png">
<p class="card__text">Lorem ipsum dolor sit amet, consectetur</p>
<p class="card__text">Adipiscing elit. Pellentesque.</p>
<button class="button button--primary">Click me!</button>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment