aboutsummaryrefslogtreecommitdiff
path: root/docs/4.0
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2017-08-07 22:36:57 -0700
committerMark Otto <[email protected]>2017-08-10 22:35:38 -0700
commit3fbdedbf22dc9257e06d73b13f6db7244dbda7cb (patch)
tree8fb94fa14f81a5742611b1a42b55717d602f6f13 /docs/4.0
parent35f80bb12e4e71fd777ee60ffa43711d8f84b1a6 (diff)
downloadbootstrap-3fbdedbf22dc9257e06d73b13f6db7244dbda7cb.tar.xz
bootstrap-3fbdedbf22dc9257e06d73b13f6db7244dbda7cb.zip
Add basic property-value utils for position
Diffstat (limited to 'docs/4.0')
-rw-r--r--docs/4.0/utilities/position.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/4.0/utilities/position.md b/docs/4.0/utilities/position.md
index fb7d8bd9e..9cf952452 100644
--- a/docs/4.0/utilities/position.md
+++ b/docs/4.0/utilities/position.md
@@ -6,6 +6,18 @@ group: utilities
toc: true
---
+## Common values
+
+Quick positioning classes are available, though they are not responsive.
+
+{% highlight html %}
+<div class="position-static">...</div>
+<div class="position-relative">...</div>
+<div class="position-absolute">...</div>
+<div class="position-fixed">...</div>
+<div class="position-sticky">...</div>
+{% endhighlight %}
+
## 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.