]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
document it
authorMark Otto <markdotto@gmail.com>
Sat, 17 Jun 2017 17:17:15 +0000 (10:17 -0700)
committerMark Otto <markd.otto@gmail.com>
Sat, 17 Jun 2017 20:13:47 +0000 (13:13 -0700)
docs/4.0/utilities/position.md

index 93f0fd040ad9dad009c57c87d74b04e9861511bc..fb7d8bd9eab21c30b028b6819f6712bd3cb42aa0 100644 (file)
@@ -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 %}