mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-06 05:37:39 +02:00
more specific panel titles and docs notes
This commit is contained in:
@@ -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><h1></code>-<code><h6></code> with a <code>.panel-title</code> class to add a pre-styled heading.</p>
|
<p>Easily add a heading container to your panel with <code>.panel-heading</code>. You may also include any <code><h1></code>-<code><h6></code> with a <code>.panel-title</code> class to add a pre-styled heading.</p>
|
||||||
<div class="bs-example">
|
<div class="bs-example">
|
||||||
<div class="panel">
|
<div class="panel">
|
||||||
<div class="panel-heading">Panel heading</div>
|
<div class="panel-heading">Panel heading without title</div>
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
Panel content
|
Panel content
|
||||||
</div>
|
</div>
|
||||||
@@ -2419,7 +2419,7 @@ body { padding-bottom: 70px; }
|
|||||||
</div>
|
</div>
|
||||||
{% highlight html %}
|
{% highlight html %}
|
||||||
<div class="panel">
|
<div class="panel">
|
||||||
<div class="panel-heading">Panel heading</div>
|
<div class="panel-heading">Panel heading without title</div>
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
Panel content
|
Panel content
|
||||||
</div>
|
</div>
|
||||||
@@ -2436,7 +2436,7 @@ body { padding-bottom: 70px; }
|
|||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
<h3 id="panels-footer">Panel with footer</h3>
|
<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="bs-example">
|
||||||
<div class="panel">
|
<div class="panel">
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
|
Reference in New Issue
Block a user