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

more specific panel titles and docs notes

This commit is contained in:
Mark Otto 2013-08-17 14:27:21 -07:00
parent 1b814ddd0a
commit 3cb38197f2

View File

@ -2403,7 +2403,7 @@ body { padding-bottom: 70px; }
<p>Easily add a heading container to your panel with <code>.panel-heading</code>. You may also include any <code>&lt;h1&gt;</code>-<code>&lt;h6&gt;</code> with a <code>.panel-title</code> class to add a pre-styled heading.</p>
<div class="bs-example">
<div class="panel">
<div class="panel-heading">Panel heading</div>
<div class="panel-heading">Panel heading without title</div>
<div class="panel-body">
Panel content
</div>
@ -2419,7 +2419,7 @@ body { padding-bottom: 70px; }
</div>
{% highlight html %}
<div class="panel">
<div class="panel-heading">Panel heading</div>
<div class="panel-heading">Panel heading without title</div>
<div class="panel-body">
Panel content
</div>
@ -2436,7 +2436,7 @@ body { padding-bottom: 70px; }
{% endhighlight %}
<h3 id="panels-footer">Panel with footer</h3>
<p>Wrap buttons or secondary text in <code>.panel-footer</code>.</p>
<p>Wrap buttons or secondary text in <code>.panel-footer</code>. Note that panel footers <strong>do not</strong> inherit colors and borders when using contextual variations as they are not meant to be in the foreground.</p>
<div class="bs-example">
<div class="panel">
<div class="panel-body">