SVG: Drop-Shadow filter pixelates SVG on mobile Safari

后端 未结 3 1186
长情又很酷
长情又很酷 2021-01-03 10:35

I am using a drop shadow filter inside an SVG file that is embedded using an img tag. On my MacBook, it looks fine in Safari. However, in mobile Safari, the gra

3条回答
  •  时光说笑
    2021-01-03 10:54

    You should try explicitly setting the "filterRes" attribute of the filter to a value that matches retina displays.

提交回复
热议问题