aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChristian Oliff <[email protected]>2018-01-11 17:31:03 +0900
committerXhmikosR <[email protected]>2018-01-11 10:31:03 +0200
commitd015ab90998d565611169d8ac3ad238c81651987 (patch)
treee16bb645cc3824a2e8f3dd982ca63d7f9e51b5f9 /docs
parent5c53c8e64713cc9232f4fad1b8b58d4c6ab33c3b (diff)
downloadbootstrap-d015ab90998d565611169d8ac3ad238c81651987.tar.xz
bootstrap-d015ab90998d565611169d8ac3ad238c81651987.zip
Update browser compatibility note for `position: sticky` since Edge supports it now (#25229)
The latest shipping version of Edge supports position: sticky and I've successfully tested it with Bootstrap 4 and it works as intended. I added IE10 in place of Edge in that note as I assume that IE10 also has the `position: relative` fallback. REF: https://caniuse.com/#search=sticky
Diffstat (limited to 'docs')
-rw-r--r--docs/4.0/utilities/position.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/4.0/utilities/position.md b/docs/4.0/utilities/position.md
index 9cf952452..b19488626 100644
--- a/docs/4.0/utilities/position.md
+++ b/docs/4.0/utilities/position.md
@@ -38,7 +38,7 @@ 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.
+**IE11 and IE10 will render `position: sticky` as `position: relative`.** As such, we wrap the styles in a `@supports` query, limiting the stickiness to only browsers that can render it properly.
{% highlight html %}
<div class="sticky-top">...</div>