diff options
author | XhmikosR <xhmikosr@gmail.com> | 2019-01-08 19:33:28 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2019-03-13 20:22:59 +0300 |
commit | d95d30029f8d63190eb242c9914cee16b6b90627 (patch) | |
tree | 06fbab510fa94ac092606eb04b37d061e64d8fbc /site/docs/4.3/content/figures.md | |
parent | 6aa475c82e69a02882e87da7067e522806d6579c (diff) |
Switch to Hugo.
No more Ruby dependency and most important more than 10 times less build time (at least on Windows)!
Diffstat (limited to 'site/docs/4.3/content/figures.md')
-rw-r--r-- | site/docs/4.3/content/figures.md | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/site/docs/4.3/content/figures.md b/site/docs/4.3/content/figures.md deleted file mode 100644 index a647fc1d0b..0000000000 --- a/site/docs/4.3/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"> - {% include icons/placeholder.svg width="400" height="300" class="figure-img img-fluid rounded" %} - <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"> - {% include icons/placeholder.svg width="400" height="300" class="figure-img img-fluid rounded" %} - <figcaption class="figure-caption text-right">A caption for the above image.</figcaption> -</figure> -{% endcapture %} -{% include example.html content=example %} |