aboutsummaryrefslogtreecommitdiff
path: root/docs/utilities/position.md
diff options
context:
space:
mode:
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.