This file contains 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
/* Responsive figure and figcaption elements | |
How to display a figcaption element, | |
without setting a with = to image with | |
Source and exemple: <http://stackoverflow.com/questions/6534473/how-can-i-make-the-width-of-my-figcaption-match-the-width-of-the-img-inside> | |
.basic - display the figcaption under the image | |
.side-by-side - display the figcaption on the right |