aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2017-06-17 10:17:15 -0700
committerMark Otto <[email protected]>2017-06-17 13:13:47 -0700
commit3e25ebb58742c662743540345a7bc193e57b7aa9 (patch)
tree9afd2a8903ba4c8567cbe4cac3dd16246e6633cd /docs
parent60d8c8754f9e03bcd9a1d9b7d6507a341ef9bfa0 (diff)
downloadbootstrap-3e25ebb58742c662743540345a7bc193e57b7aa9.tar.xz
bootstrap-3e25ebb58742c662743540345a7bc193e57b7aa9.zip
document it
Diffstat (limited to 'docs')
-rw-r--r--docs/4.0/utilities/position.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/4.0/utilities/position.md b/docs/4.0/utilities/position.md
index 93f0fd040..fb7d8bd9e 100644
--- a/docs/4.0/utilities/position.md
+++ b/docs/4.0/utilities/position.md
@@ -26,6 +26,8 @@ Position an element at the bottom of the viewport, from edge to edge. Be sure yo
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.
+**Microsoft Edge and IE11 will render `position: sticky` as `position: relative`.** As such, we wrap the styles in a `@supports` query, limiting the stickiness to only browsers that properly can render it.
+
{% highlight html %}
<div class="sticky-top">...</div>
{% endhighlight %}