Skip to content

Instantly share code, notes, and snippets.

@kenold
Last active September 24, 2019 16:43
Show Gist options
  • Save kenold/a85221b8d0d25db6d5cdd4eb03dd81b5 to your computer and use it in GitHub Desktop.
Save kenold/a85221b8d0d25db6d5cdd4eb03dd81b5 to your computer and use it in GitHub Desktop.
CSS Blog Card
<div class="card">
<a href="#">
<figure class="card__media">
<img src="image.jpg" alt="" class="card__image">
</figure>
<div class="card__body">
<div class="card__category">Blog</div>
<div class="card__title">Card Title</div>
</div>
<div class="card__footer">
<div class="card__author">Jane Doe</div>
<div class="card__date">5 hours ago</div>
</div>
</a>
<div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment