Media queries for tablet min-resolution and max-resolution

后端 未结 3 1322
轮回少年
轮回少年 2020-12-10 06:19

Currently working on a responsive design website. I use media query for targeting different devices based on the width and screen resolution.

  1. I have a scena

3条回答
  •  无人及你
    2020-12-10 06:52

    According to older measurement by Quircksmode http://quirksmode.org/tablets.html

    @media screen and (min-width: 37em) {
    }
    

    however, this doesn't work best for newer tablets I guess, since my phone has 37em or more.

    What about:

    @media screen and (min-width: 42em) {
    }
    

提交回复
热议问题