From 56404bc89b590ee48313634b0bf2be8591fae233 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Thu, 25 Jul 2013 21:16:43 -0700 Subject: Add `.panel-title` to panel component to mirror modals /cc @leeaston --- components.html | 35 +++++++++++++++++++++++++++++------ 1 file changed, 29 insertions(+), 6 deletions(-) (limited to 'components.html') diff --git a/components.html b/components.html index 6eb849ea7..3f177a840 100644 --- a/components.html +++ b/components.html @@ -1965,18 +1965,31 @@ body { padding-bottom: 70px; } {% endhighlight %}

Panel with heading

-

Easily add a heading to your panel with .panel-heading. Use it on a <div> or any heading element (e.g., <h3>).

+

Easily add a heading container to your panel with .panel-heading. You may also include any <h1>-<h6> with a .panel-title class to add a pre-styled heading.

Panel heading
Panel content
+
+
+

Panel title

+
+ Panel content +
{% highlight html %}
Panel heading
Panel content
+ +
+
+

Panel title

+
+ Panel content +
{% endhighlight %} @@ -1998,23 +2011,33 @@ body { padding-bottom: 70px; }

Like other components, easily make a panel more meaningful to a particular context by adding any of the contextual state classes.

-
Panel heading
+
+

Panel title

+
Panel content
-
Panel heading
+
+

Panel title

+
Panel content
-
Panel heading
+
+

Panel title

+
Panel content
-
Panel heading
+
+

Panel title

+
Panel content
-
Panel heading
+
+

Panel title

+
Panel content
-- cgit v1.2.3