How to use intersection observer to detect intersection of fixed position element with non-null root?

后端 未结 0 1044
野的像风
野的像风 2020-12-24 07:12

Here\'s what I\'d like to achieve:

  1. When the fixed position element (#sticky) intersects with its parent element (#not-the-document), display "intersection:
相关标签:
回答
  • 消灭零回复
提交回复
热议问题