css media queries: target mobile devices without specifying width, pixel ratio, etc

后端 未结 3 2121
日久生厌
日久生厌 2021-02-09 20:46

Let\'s say I just want to target every tablet and phone, regardless of size, is there a media query for this? Is it possible to do this without specifying a size? Or is using a

3条回答
  •  深忆病人
    2021-02-09 21:10

    In the CSS3 spec, @media handeld is mentioned but it has perhaps no browser support.

    So, no.

    However, you might find this site useful, it explains other some media query techniques for mobile.

提交回复
热议问题