Font size issue with iPhone

前端 未结 3 1502
悲&欢浪女
悲&欢浪女 2020-12-13 04:50

Im currently working on a mobile version of a website, everything is great, works fine on an iPhone, Blackberry and Android.

I have one slight problem, not a big dea

3条回答
  •  半阙折子戏
    2020-12-13 05:13

    A better solution can be using 100% instead of none, as stated by user612626 in an older thread: Font size rendering inconsistencies on an iPhone

    body {
        -webkit-text-size-adjust: 100%;
    }
    

    this way desktop webkit browsers can adjust size and zoom proportionally too. I think this is a better approach than filtering by screen size.

    Hope it helps.

提交回复
热议问题