diff options
| author | Mark Otto <[email protected]> | 2017-05-28 22:50:57 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2017-05-29 23:32:28 -0700 |
| commit | 3e76d6565603fafa2c85ad81d7b6345c4e279c72 (patch) | |
| tree | fad0aa6a4a70cafb4a803bd920d6ae2fa44dc466 /docs/content/figures.md | |
| parent | 32153eb7cba316b873e82cd7b9362c92ca00eddf (diff) | |
| download | bootstrap-3e76d6565603fafa2c85ad81d7b6345c4e279c72.tar.xz bootstrap-3e76d6565603fafa2c85ad81d7b6345c4e279c72.zip | |
Rearrange all the docs to allow for a docs/major.minor/ setup
Diffstat (limited to 'docs/content/figures.md')
| -rw-r--r-- | docs/content/figures.md | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/docs/content/figures.md b/docs/content/figures.md deleted file mode 100644 index 4f90018c9..000000000 --- a/docs/content/figures.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -layout: docs -title: Figures -description: Documentation and examples for displaying related images and text with the figure component in Bootstrap. -group: content ---- - -Anytime you need to display a piece of content—like an image with an optional caption, consider using a `<figure>`. - -Use the included `.figure` , `.figure-img` and `.figure-caption` classes to provide some baseline styles for the HTML5 `<figure>` and `<figcaption>` elements. Images in figures have no explicit size, so be sure to add the `.img-fluid` class to your `<img>` to make it responsive. - -{% example html %} -<figure class="figure"> - <img data-src="holder.js/400x300" class="figure-img img-fluid rounded" alt="A generic square placeholder image with rounded corners in a figure."> - <figcaption class="figure-caption">A caption for the above image.</figcaption> -</figure> -{% endexample %} - -Aligning the figure's caption is easy with our [text utilities]({{ site.baseurl }}/utilities/typography/#text-alignment). - -{% example html %} -<figure class="figure"> - <img data-src="holder.js/400x300" class="figure-img img-fluid rounded" alt="A generic square placeholder image with rounded corners in a figure."> - <figcaption class="figure-caption text-right">A caption for the above image.</figcaption> -</figure> -{% endexample %} |
