Say, I got this code:
Just set width: min-content;
on the figure
element
figure {
width: -webkit-min-content;
width: -moz-min-content;
width: min-content;
}
Bunny rabits are cuddly and fluffy creatures with big ears. They eat carrots.
NB: Browser Support is OK, except for IE, however they are considering implementing this