diff options
| author | Mark Otto <[email protected]> | 2017-05-28 22:50:57 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2017-05-29 23:32:28 -0700 |
| commit | 3e76d6565603fafa2c85ad81d7b6345c4e279c72 (patch) | |
| tree | fad0aa6a4a70cafb4a803bd920d6ae2fa44dc466 /docs/utilities/position.md | |
| parent | 32153eb7cba316b873e82cd7b9362c92ca00eddf (diff) | |
| download | bootstrap-3e76d6565603fafa2c85ad81d7b6345c4e279c72.tar.xz bootstrap-3e76d6565603fafa2c85ad81d7b6345c4e279c72.zip | |
Rearrange all the docs to allow for a docs/major.minor/ setup
Diffstat (limited to 'docs/utilities/position.md')
| -rw-r--r-- | docs/utilities/position.md | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/docs/utilities/position.md b/docs/utilities/position.md deleted file mode 100644 index 93f0fd040..000000000 --- a/docs/utilities/position.md +++ /dev/null @@ -1,31 +0,0 @@ ---- -layout: docs -title: Position -description: Use these shorthand utilities for quickly configuring the position of an element. -group: utilities -toc: true ---- - -## 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. - -{% highlight html %} -<div class="fixed-top">...</div> -{% endhighlight %} - -## 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. - -{% highlight html %} -<div class="fixed-bottom">...</div> -{% endhighlight %} - -## 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. - -{% highlight html %} -<div class="sticky-top">...</div> -{% endhighlight %} |
