Skip to content

Commit 3e25ebb

Browse files
committed
document it
1 parent 60d8c87 commit 3e25ebb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/4.0/utilities/position.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ Position an element at the bottom of the viewport, from edge to edge. Be sure yo
2626

2727
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.
2828

29+
**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.
30+
2931
{% highlight html %}
3032
<div class="sticky-top">...</div>
3133
{% endhighlight %}

0 commit comments

Comments
 (0)