Using figures and Flex-box to align captions
As I learn how to be more flexible in working with art direction for web content, I'm documenting some of the cool things I've learned. Because I'm using flexbox, I'm relying on CSS Trick's [A Complete Guide to Flexbox](https://css-tricks.com/snippets/css/a-guide-to-flexbox/) to reference the Flexbox aspects fo the elements. ## Figures as flex containers If we make a [figure](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/figure) into a flex container we gain a lot of flexibility in how we place captions around the image. This is the image that we'll play with. ```html
Pablo Neruda Facts
Pablo Neruda, original name Neftalí Ricardo Reyes Basoalto, (born July 12, 1904, Parral, Chile — died September 23, 1973, Santiago), Chilean poet, diplomat, and politician who was awarded the Nobel Prize for Literature in 1971. He was perhaps the most important Latin American poet of the 20th century.