aboutsummaryrefslogtreecommitdiff
path: root/docs/content/typography.md
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2016-05-08 15:25:26 -0700
committerMark Otto <[email protected]>2016-05-08 15:25:26 -0700
commit4a064209ba26f53ed0758f232d0331beca7dfcd3 (patch)
tree8b2d84d7518c4a6d39139ce0f81726133908847a /docs/content/typography.md
parentb2dd8e16946c839b24ea1327c65732222e03c2d2 (diff)
parentb479efb9d639de1955d5aa4cfc4acd810352a6b2 (diff)
downloadbootstrap-4a064209ba26f53ed0758f232d0331beca7dfcd3.tar.xz
bootstrap-4a064209ba26f53ed0758f232d0331beca7dfcd3.zip
Merge branch 'v4-dev' into v4-forms-cleanup
Diffstat (limited to 'docs/content/typography.md')
-rw-r--r--docs/content/typography.md13
1 files changed, 12 insertions, 1 deletions
diff --git a/docs/content/typography.md b/docs/content/typography.md
index a49eadedb..139a7e00e 100644
--- a/docs/content/typography.md
+++ b/docs/content/typography.md
@@ -24,7 +24,7 @@ These styles can be found within `_reboot.scss`, and the global variables are de
## Headings
-All HTML headings, `<h1>` through `<h6>`, are available. `.h1` through `.h6` classes are also available, for when you want to match the font styling of a heading but still want your text to be displayed inline.
+All HTML headings, `<h1>` through `<h6>`, are available.
<div class="bd-example bd-example-type">
<table class="table">
@@ -66,6 +66,17 @@ All HTML headings, `<h1>` through `<h6>`, are available. `.h1` through `.h6` cla
<h6>h6. Bootstrap heading</h6>
{% endhighlight %}
+`.h1` through `.h6` classes are also available, for when you want to match the font styling of a heading but cannot use the associated HTML element.
+
+{% example html %}
+<p class="h1">h1. Bootstrap heading</p>
+<p class="h2">h2. Bootstrap heading</p>
+<p class="h3">h3. Bootstrap heading</p>
+<p class="h4">h4. Bootstrap heading</p>
+<p class="h5">h5. Bootstrap heading</p>
+<p class="h6">h6. Bootstrap heading</p>
+{% endexample %}
+
### Customizing headings
Use the included utility classes to recreate the small secondary heading text from Bootstrap 3.