Forked from grevory/bootstrap-photo-with-caption.html
Last active
August 29, 2015 14:22
-
-
Save einnor/06d2dec97645a10893fd to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| <style> | |
| .thumbnail.with-caption { | |
| display: inline-block; | |
| background: #f5f5f5; | |
| } | |
| .thumbnail.with-caption p { | |
| margin: 0; | |
| padding-top: 0.5em; | |
| } | |
| .thumbnail.with-caption small:before { | |
| content: '\2014 \00A0'; | |
| } | |
| .thumbnail.with-caption small { | |
| width: 100%; | |
| text-align: right; | |
| display: inline-block; | |
| color: #999; | |
| } | |
| </style> | |
| <div class="thumbnail with-caption"> | |
| <img src="http://img.youtube.com/vi/IJNR2EpS0jw/0.jpg" width="320"> | |
| <p>Dumb ways to die<small>Metro</small></p> | |
| </div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment