image map not working on iOS devices, with large images that get rescaled by the device

后端 未结 11 870
一个人的身影
一个人的身影 2021-01-11 09:44

I\'m developing an internal web app on our company intranet using PHP. One section of the app displays a couple of high resolution images to the user. These images are in th

11条回答
  •  时光说笑
    2021-01-11 10:25

    I solved this with only 1 line of code, no JavaScript. Only CSS, you need to use zoom property to scale your image and everything will work fine, just like this

    img {
        zoom: 0.3;
    }
    

提交回复
热议问题