From ca2711fc8e98c6969b642894b485df9235c09009 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Wed, 17 Sep 2014 20:03:32 -0700 Subject: rewrite jumbotron less and make heading use a class --- docs/components/jumbotron.md | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) (limited to 'docs/components') diff --git a/docs/components/jumbotron.md b/docs/components/jumbotron.md index d211f1a52..080133ed5 100644 --- a/docs/components/jumbotron.md +++ b/docs/components/jumbotron.md @@ -7,18 +7,29 @@ A lightweight, flexible component that can optionally extend the entire viewport {% example html %}
-

Hello, world!

-

This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.

-

Learn more

+

Hello, world!

+

This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.

+

Learn more

{% endexample %} To make the jumbotron full width, and without rounded corners, place it outside all `.container`s and instead add a `.container` within. -{% example html %} +{% highlight html %}
...
+{% endhighlight %} + +Jumbotrons also come with an adaptive `hr`—just add `.jumbotron-hr` to the element and the `border-top-color` will be tinted based on the jumbotron background. + +{% example html %} +
+

Jumbotron hr

+

This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.

+
+

Learn more

+
{% endexample %} -- cgit v1.2.3