1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-01 01:21:49 +02:00

fixes #17412: reverse display heading classes to match h1-h6 headings

This commit is contained in:
Mark Otto
2015-09-01 21:11:53 -07:00
parent d119800489
commit 29c3eddaeb
2 changed files with 12 additions and 12 deletions

View File

@@ -85,26 +85,26 @@ Traditional heading elements are designed to work best in the meat of your page
<table class="table"> <table class="table">
<tbody> <tbody>
<tr> <tr>
<td><h1 class="display-4">Display 4</h1></td> <td><h1 class="display-1">Display 1</h1></td>
</tr>
<tr>
<td><h1 class="display-3">Display 3</h1></td>
</tr> </tr>
<tr> <tr>
<td><h1 class="display-2">Display 2</h1></td> <td><h1 class="display-2">Display 2</h1></td>
</tr> </tr>
<tr> <tr>
<td><h1 class="display-1">Display 1</h1></td> <td><h1 class="display-3">Display 3</h1></td>
</tr>
<tr>
<td><h1 class="display-4">Display 4</h1></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
</div> </div>
{% highlight html %} {% highlight html %}
<h1 class="display-4">Display 4</h1>
<h1 class="display-3">Display 3</h1>
<h1 class="display-2">Display 2</h1>
<h1 class="display-1">Display 1</h1> <h1 class="display-1">Display 1</h1>
<h1 class="display-2">Display 2</h1>
<h1 class="display-3">Display 3</h1>
<h1 class="display-4">Display 4</h1>
{% endhighlight %} {% endhighlight %}
## Lead ## Lead

View File

@@ -143,10 +143,10 @@ $font-size-h4: 1.5rem !default;
$font-size-h5: 1.25rem !default; $font-size-h5: 1.25rem !default;
$font-size-h6: 1rem !default; $font-size-h6: 1rem !default;
$display1-size: 3.5rem !default; $display1-size: 6rem !default;
$display2-size: 4.5rem !default; $display2-size: 5.5rem !default;
$display3-size: 5.5rem !default; $display3-size: 4.5rem !default;
$display4-size: 6rem !default; $display4-size: 3.5rem !default;
$display1-weight: 300 !default; $display1-weight: 300 !default;
$display2-weight: 300 !default; $display2-weight: 300 !default;