The Bootstrap figure element is used when one needs to display a piece of content, generally images with an optional caption. The figure class in Bootstrap 4 is used to add styling to the default figure elements.
Use the included .figure, .figure-img and .figure-caption classes to provide some baseline styles for the HTML5 <figure> and <figcaption> elements.
Using the .figure class:
The base .figure class is used to indicate a figure element and .figure-img is used to indicate the image used in the figure element.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok