Skip to content

Instantly share code, notes, and snippets.

@christianmagill
Created May 24, 2016 01:03
Show Gist options
  • Save christianmagill/9b6f59ac710b899156a99743aa3bf05b to your computer and use it in GitHub Desktop.
Save christianmagill/9b6f59ac710b899156a99743aa3bf05b to your computer and use it in GitHub Desktop.
Make figure and figcaption the same width.
figure { display: table; }
figcaption { display: table-caption; caption-side: bottom ; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment