From f682dec5c25f4ff1a29b34e10d339d549359cdb2 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 28 May 2017 11:25:59 -0700 Subject: new toc in utils and about and extend --- docs/utilities/position.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'docs/utilities/position.md') 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
...
{% 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
...
{% 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. -- cgit v1.2.3