diff options
| author | Mark Otto <[email protected]> | 2018-04-09 09:00:23 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-04-09 09:00:23 -0700 |
| commit | 8f7bd419935adfcd53c471a0202083464800619e (patch) | |
| tree | d0e6ab018a0f41b59a1206cf72ffc79a474e69b9 /docs/4.0/content/figures.md | |
| parent | 91730a644f107ca80a747a6f7f0c173eca5708fa (diff) | |
| download | bootstrap-4.1.0.tar.xz bootstrap-4.1.0.zip | |
Ship v4.1.0 (#26218)v4.1.0
* update docs path from docs/4.0/ to docs/4.1/
* bump version to 4.1.0
* Update redirects to work for 4.1 docs move
* Update docs version switcher to include latest and link to 4.0 docs
* re-run dist
* Update package-lock.json
* Update docs-navbar.html
Diffstat (limited to 'docs/4.0/content/figures.md')
| -rw-r--r-- | docs/4.0/content/figures.md | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/docs/4.0/content/figures.md b/docs/4.0/content/figures.md deleted file mode 100644 index 7041997ba..000000000 --- a/docs/4.0/content/figures.md +++ /dev/null @@ -1,28 +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. - -{% capture example %} -<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> -{% endcapture %} -{% include example.html content=example %} - -Aligning the figure's caption is easy with our [text utilities]({{ site.baseurl }}/docs/{{ site.docs_version }}/utilities/text/#text-alignment). - -{% capture example %} -<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> -{% endcapture %} -{% include example.html content=example %} |
