aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes/components/media.html
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2014-12-04 19:18:29 -0800
committerChris Rebert <[email protected]>2014-12-04 19:18:29 -0800
commit0c5a5563b271a6a15db7452f8f4878d4bd797074 (patch)
tree5797ffeb3d82a32395e5553e90a5adf2a7ad1980 /docs/_includes/components/media.html
parentac49a0990689439be471752f6c5ea8a91256ad32 (diff)
parent44447eeefe61dbb16cab59900c3c061d9f207fbc (diff)
downloadbootstrap-0c5a5563b271a6a15db7452f8f4878d4bd797074.tar.xz
bootstrap-0c5a5563b271a6a15db7452f8f4878d4bd797074.zip
Merge pull request #15214 from twbs/example-ids
Give all embedded live docs examples data-example-id attrs [skip sauce]
Diffstat (limited to 'docs/_includes/components/media.html')
-rw-r--r--docs/_includes/components/media.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/_includes/components/media.html b/docs/_includes/components/media.html
index 6f31804bf..3d1f75dbe 100644
--- a/docs/_includes/components/media.html
+++ b/docs/_includes/components/media.html
@@ -5,7 +5,7 @@
<h3 id="media-default">Default media</h3>
<p>The default media displays a media object (images, video, audio) to the left or right of a content block.</p>
- <div class="bs-example">
+ <div class="bs-example" data-example-id="default-media">
<div class="media">
<div class="media-left">
<a href="#">
@@ -84,7 +84,7 @@
<p>The classes <code>.pull-left</code> and <code>.pull-right</code> also exist and were previously used as part of the media component, but are deprecated for that use as of v3.3.0. They are approximately equivalent to <code>.media-left</code> and <code>.media-right</code>, except that <code>.media-right</code> should be placed after the <code>.media-body</code> in the html.</p>
<h3 id="media-alignment">Media alignment</h3>
<p>The images or other media can be aligned top, middle, or bottom. The default is top aligned.</p>
- <div class="bs-example">
+ <div class="bs-example" data-example-id="media-alignment">
<div class="media">
<div class="media-left">
<a href="#">
@@ -138,7 +138,7 @@
<h3 id="media-list">Media list</h3>
<p>With a bit of extra markup, you can use media inside list (useful for comment threads or articles lists).</p>
- <div class="bs-example">
+ <div class="bs-example" data-example-id="media-list">
<ul class="media-list">
<li class="media">
<div class="media-left">