aboutsummaryrefslogtreecommitdiff
path: root/docs/utilities/position.md
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2017-05-28 11:25:59 -0700
committerMark Otto <[email protected]>2017-05-28 11:25:59 -0700
commitf682dec5c25f4ff1a29b34e10d339d549359cdb2 (patch)
tree56fc1244bdb43bc61152438dfeb32cfcd010ede0 /docs/utilities/position.md
parentc72cc98bd56fb50259c84a1fced38751009eb930 (diff)
downloadbootstrap-f682dec5c25f4ff1a29b34e10d339d549359cdb2.tar.xz
bootstrap-f682dec5c25f4ff1a29b34e10d339d549359cdb2.zip
new toc in utils and about and extend
Diffstat (limited to 'docs/utilities/position.md')
-rw-r--r--docs/utilities/position.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/utilities/position.md b/docs/utilities/position.md
index 6b8268c48..93f0fd040 100644
--- a/docs/utilities/position.md
+++ b/docs/utilities/position.md
@@ -1,12 +1,12 @@
---
layout: docs
title: Position
+description: Use these shorthand utilities for quickly configuring the position of an element.
group: utilities
+toc: true
---
-Position utilities are helpful for quickly placing a component outside the normal document flow. Choose from a handful of fixed or sticky position classes as needed.
-
-### Fixed top
+## Fixed top
Position an element at the top of the viewport, from edge to edge. Be sure you understand the ramifications of fixed position in your project; you may need to add aditional CSS.
@@ -14,7 +14,7 @@ Position an element at the top of the viewport, from edge to edge. Be sure you u
<div class="fixed-top">...</div>
{% endhighlight %}
-### Fixed bottom
+## Fixed bottom
Position an element at the bottom of the viewport, from edge to edge. Be sure you understand the ramifications of fixed position in your project; you may need to add aditional CSS.
@@ -22,7 +22,7 @@ Position an element at the bottom of the viewport, from edge to edge. Be sure yo
<div class="fixed-bottom">...</div>
{% endhighlight %}
-### Sticky top
+## Sticky top
Position an element at the top of the viewport, from edge to edge, but only after you scroll past it. The `.sticky-top` utility uses CSS's `position: sticky`, which isn't fully supported in all browsers.