aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2017-06-17 19:03:25 -0700
committerMark Otto <[email protected]>2017-06-17 19:03:25 -0700
commit58bd8fdf2b7c59577737e26f821841647cf11f8e (patch)
treee010c48e321b520cd1f56abcd4d52edddfa552eb /docs
parentc5170db84467abf3a901d7e8df21d8e84a987743 (diff)
parent3e25ebb58742c662743540345a7bc193e57b7aa9 (diff)
downloadbootstrap-58bd8fdf2b7c59577737e26f821841647cf11f8e.tar.xz
bootstrap-58bd8fdf2b7c59577737e26f821841647cf11f8e.zip
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
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 %}