Skip to content

Code for images with captions

Rob Knight edited this page Aug 4, 2015 · 2 revisions
  1. Images with captions need to be wrapped in a div with a class of .image-container
  2. Image captions need to be wrapped in a tag (<span>, <p>, <div>) with a class of .image-caption

Example

<div class="image-container">
  <img src="http://placehold.it/320x200" alt="Text description" />
  <p class="image-caption">This is a left callout box with captions.</p>
</div>

Clone this wiki locally