jQuery check if browser support position: fixed

后端 未结 7 675
灰色年华
灰色年华 2021-01-04 09:13

How do I check if browser supports position:fixed using jQuery. I assume I have to use $.support I think, but how?

Thank you for your time.

7条回答
  •  日久生厌
    2021-01-04 09:48

    The feature-test Position fixed support , mentioned above, returns a false-positive on Opera Mini (which does not support position: fixed).

提交回复
热议问题