Skip to content

Instantly share code, notes, and snippets.

@DaveOrDead
Last active December 5, 2015 08:46
Show Gist options
  • Save DaveOrDead/32832595ee1f91cd1d4e to your computer and use it in GitHub Desktop.
Save DaveOrDead/32832595ee1f91cd1d4e to your computer and use it in GitHub Desktop.
BEM card
<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.
<a href="/somelink.html" class="card__link">Pellentesque amet</a>
</p>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment