diff options
| author | Chris Rebert <[email protected]> | 2014-12-04 19:18:29 -0800 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2014-12-04 19:18:29 -0800 |
| commit | 0c5a5563b271a6a15db7452f8f4878d4bd797074 (patch) | |
| tree | 5797ffeb3d82a32395e5553e90a5adf2a7ad1980 /docs/_includes/css/helpers.html | |
| parent | ac49a0990689439be471752f6c5ea8a91256ad32 (diff) | |
| parent | 44447eeefe61dbb16cab59900c3c061d9f207fbc (diff) | |
| download | bootstrap-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/css/helpers.html')
| -rw-r--r-- | docs/_includes/css/helpers.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/_includes/css/helpers.html b/docs/_includes/css/helpers.html index 0068b159e..c6701bfdc 100644 --- a/docs/_includes/css/helpers.html +++ b/docs/_includes/css/helpers.html @@ -3,7 +3,7 @@ <h3 id="helper-classes-colors">Contextual colors</h3> <p>Convey meaning through color with a handful of emphasis utility classes. These may also be applied to links and will darken on hover just like our default link styles.</p> - <div class="bs-example"> + <div class="bs-example" data-example-id="contextual-colors-helpers"> <p class="text-muted">Fusce dapibus, tellus ac cursus commodo, tortor mauris nibh.</p> <p class="text-primary">Nullam id dolor id nibh ultricies vehicula ut id elit.</p> <p class="text-success">Duis mollis, est non commodo luctus, nisi erat porttitor ligula.</p> @@ -30,7 +30,7 @@ <h3 id="helper-classes-backgrounds">Contextual backgrounds</h3> <p>Similar to the contextual text color classes, easily set the background of an element to any contextual class. Anchor components will darken on hover, just like the text classes.</p> - <div class="bs-example bs-example-bg-classes"> + <div class="bs-example bs-example-bg-classes" data-example-id="contextual-backgrounds-helpers"> <p class="bg-primary">Nullam id dolor id nibh ultricies vehicula ut id elit.</p> <p class="bg-success">Duis mollis, est non commodo luctus, nisi erat porttitor ligula.</p> <p class="bg-info">Maecenas sed diam eget risus varius blandit sit amet non magna.</p> @@ -55,7 +55,7 @@ <h3 id="helper-classes-close">Close icon</h3> <p>Use the generic close icon for dismissing content like modals and alerts.</p> - <div class="bs-example"> + <div class="bs-example" data-example-id="close-icon"> <p><button type="button" class="close"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button></p> </div> {% highlight html %} @@ -65,7 +65,7 @@ <h3 id="helper-classes-carets">Carets</h3> <p>Use carets to indicate dropdown functionality and direction. Note that the default caret will reverse automatically in <a href="../components/#btn-dropdowns-dropup">dropup menus</a>.</p> - <div class="bs-example"> + <div class="bs-example" data-example-id="caret"> <span class="caret"></span> </div> {% highlight html %} |
