0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-18 10:52:19 +01:00

Normalized the heading hierarchy in the documentation for the Button dropdowns component.

This commit is contained in:
Steven Black 2015-02-23 21:23:50 -05:00
parent 36fdaa8030
commit 106445aea8

View File

@ -8,7 +8,7 @@
<p>Button dropdowns require the <a href="../javascript/#dropdowns">dropdown plugin</a> to be included in your version of Bootstrap.</p> <p>Button dropdowns require the <a href="../javascript/#dropdowns">dropdown plugin</a> to be included in your version of Bootstrap.</p>
</div> </div>
<h3 id="btn-dropdowns-single">Single button dropdowns</h3> <h2 id="btn-dropdowns-single">Single button dropdowns</h2>
<p>Turn a button into a dropdown toggle with some basic markup changes.</p> <p>Turn a button into a dropdown toggle with some basic markup changes.</p>
<div class="bs-example" data-example-id="single-button-dropdown"> <div class="bs-example" data-example-id="single-button-dropdown">
<div class="btn-group"> <div class="btn-group">
@ -88,7 +88,7 @@
</div> </div>
{% endhighlight %} {% endhighlight %}
<h3 id="btn-dropdowns-split">Split button dropdowns</h3> <h2 id="btn-dropdowns-split">Split button dropdowns</h2>
<p>Similarly, create split button dropdowns with the same markup changes, only with a separate button.</p> <p>Similarly, create split button dropdowns with the same markup changes, only with a separate button.</p>
<div class="bs-example" data-example-id="split-button-dropdown"> <div class="bs-example" data-example-id="split-button-dropdown">
<div class="btn-group"> <div class="btn-group">
@ -194,7 +194,7 @@
</div> </div>
{% endhighlight %} {% endhighlight %}
<h3 id="btn-dropdowns-sizing">Sizing</h3> <h2 id="btn-dropdowns-sizing">Sizing</h2>
<p>Button dropdowns work with buttons of all sizes.</p> <p>Button dropdowns work with buttons of all sizes.</p>
<div class="bs-example" data-example-id="button-dropdown-sizing"> <div class="bs-example" data-example-id="button-dropdown-sizing">
<div class="btn-toolbar" role="toolbar"> <div class="btn-toolbar" role="toolbar">
@ -272,7 +272,7 @@
</div> </div>
{% endhighlight %} {% endhighlight %}
<h3 id="btn-dropdowns-dropup">Dropup variation</h3> <h2 id="btn-dropdowns-dropup">Dropup variation</h2>
<p>Trigger dropdown menus above elements by adding <code>.dropup</code> to the parent.</p> <p>Trigger dropdown menus above elements by adding <code>.dropup</code> to the parent.</p>
<div class="bs-example" data-example-id="button-dropdown-dropup"> <div class="bs-example" data-example-id="button-dropdown-dropup">
<div class="btn-toolbar" role="toolbar"> <div class="btn-toolbar" role="toolbar">