Blurry images on stock android browser

前端 未结 2 672
温柔的废话
温柔的废话 2020-12-20 16:24

I\'ve been trying to figure this out for weeks and have found no real solutions. I discovered one workaround but I find it very annoying.

The images load blurry on m

2条回答
  •  感动是毒
    2020-12-20 16:56

    I had the same problem and found out that the cause of the issue is position:fixed and z-index on the default Android web browser (not Chrome!).

    After removing these css attributes, all my images became very crisp and clear.

    From my experience, position:fixed is a no-go for mobile, especially on Android and older iOS versions. The only mobile os I know that can handle position:fixed well is iOS6 and later versions.


    Update: So far the only fix that I know of is to simply avoid combining position:fixed and z-index. Sometimes just getting rid of z-index does the trick or don't use position:fixed at all on iOS and Android. It's not a good practice on mobile anyway. Besides that you can only pray that Chrome will replace Android Stock Browser as the default browser in the future as fast as possible on most Android devices.

提交回复
热议问题