A 1 pixel gap only coming on iPad but fine on Safari and Chrome

后端 未结 7 1750
悲哀的现实
悲哀的现实 2021-02-01 18:00

Here at this line after clouds which will be only visible in iPad or iPhone. Any idea how to solve it?

It\'s fine in all other desktop browsers.

7条回答
  •  刺人心
    刺人心 (楼主)
    2021-02-01 18:18

    I also solved the iOS sub pixel gap issue (on a full screen site) by using overflow-x: hidden; to stop side ways scrolling & viewpoint scale to stop pitch zooming. I also had holder divs set at width: 101%; and all the elements/image divs inside set to float: left;. This means the sub pixel gaps are all on the left hand site but pushed out of view by the holder div set at 101% width.

提交回复
热议问题