aboutsummaryrefslogtreecommitdiff
path: root/docs/components/carousel.md
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2015-04-16 16:56:40 -0700
committerMark Otto <[email protected]>2015-04-16 16:56:40 -0700
commit466d36e54175ee00927d6518d9481acd2d210590 (patch)
treeb24687c6657e786c372a4467d059ca064b590dbb /docs/components/carousel.md
parent801d49fb32ffe03a9cc9fd4225896d747b37a0a5 (diff)
downloadbootstrap-466d36e54175ee00927d6518d9481acd2d210590.tar.xz
bootstrap-466d36e54175ee00927d6518d9481acd2d210590.zip
Redo all our callouts with the custom callout plugin
- Replaces manual use of .bd-callout with {% callout [type] %} - Rearranged some callouts for proximity to others - Turned long lists of callouts--like those on tooltips, plugings, etc--into a list because holy shit that's overwhelming
Diffstat (limited to 'docs/components/carousel.md')
-rw-r--r--docs/components/carousel.md27
1 files changed, 15 insertions, 12 deletions
diff --git a/docs/components/carousel.md b/docs/components/carousel.md
index d8de77c63..138358f37 100644
--- a/docs/components/carousel.md
+++ b/docs/components/carousel.md
@@ -36,15 +36,17 @@ A slideshow component for cycling through elements—images or slides of text—
</div>
{% endexample %}
-<div class="bd-callout bd-callout-warning" id="callout-carousel-transitions">
- <h4>Transition animations not supported in Internet Explorer 9</h4>
- <p>Bootstrap exclusively uses CSS3 for its animations, but Internet Explorer 9 doesn't support the necessary CSS properties. Thus, there are no slide transition animations when using that browser. We have intentionally decided not to include jQuery-based fallbacks for the transitions.</p>
-</div>
+{% callout warning %}
+#### Transition animations not supported in Internet Explorer 9
-<div class="bd-callout bd-callout-warning" id="callout-carousel-active">
- <h4>Initial active element required</h4>
- <p>The <code>.active</code> class needs to be added to one of the slides. Otherwise, the carousel will not be visible.</p>
-</div>
+Bootstrap exclusively uses CSS3 for its animations, but Internet Explorer 9 doesn't support the necessary CSS properties. Thus, there are no slide transition animations when using that browser. We have intentionally decided not to include jQuery-based fallbacks for the transitions.
+{% endcallout %}
+
+{% callout warning %}
+#### Initial active element required
+
+The `.active` class needs to be added to one of the slides. Otherwise, the carousel will not be visible.
+{% endcallout %}
### Optional captions
@@ -101,10 +103,11 @@ Add captions to your slides easily with the `.carousel-caption` element within a
</div>
{% endhighlight %}
-<div class="bd-callout bd-callout-danger">
- <h4>Accessibility issue</h4>
- <p>The carousel component is generally not compliant with accessibility standards. If you need to be compliant, please consider other options for presenting your content.</p>
-</div>
+{% callout danger %}
+#### Accessibility issue
+
+The carousel component is generally not compliant with accessibility standards. If you need to be compliant, please consider other options for presenting your content.
+{% endcallout %}
## Usage