搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

I'm developing website. In css media query @media (pointer: coarse) is true. But I'm working on laptop without touchscreen. Why? Is there is any workaround?

  • 無回覆
  • 1 有這個問題
  • 3 次檢視
more options

I'm developing website. In css media query @media (pointer: coarse) is true and @media (pointer: fine) is false. But I'm working on laptop without touchscreen. In attachment there is screenshot from https://developer.mozilla.org/en-US/docs/Web/CSS/@media/pointer It shows what I'm talking about. Only Firefox has this behavior. Ie11, Edge, Chrome working as expected (css media query @media (pointer: coarse) is false and @media (pointer: fine) is true).

So question, why FF behaves this way? is it a bug? Is there is any workaround for Firefox?

I'm developing website. In css media query @media (pointer: coarse) is true and @media (pointer: fine) is false. But I'm working on laptop without touchscreen. In attachment there is screenshot from https://developer.mozilla.org/en-US/docs/Web/CSS/@media/pointer It shows what I'm talking about. Only Firefox has this behavior. Ie11, Edge, Chrome working as expected (css media query @media (pointer: coarse) is false and @media (pointer: fine) is true). So question, why FF behaves this way? is it a bug? Is there is any workaround for Firefox?
附加的畫面擷圖

由 cjorange 於 修改