Transition font-size on Chrome after zoom in

后端 未结 2 1312
遥遥无期
遥遥无期 2021-01-14 04:11

Another question about SVG style transitions... :)

This time I\'m trying to transition the font-size on a text element. It works fine until I increase the page zoom

2条回答
  •  悲哀的现实
    2021-01-14 05:04

    Browser page zoom is buggy in conjunction with SVG. You can fix the zoom level with CSS, with something like * { zoom: 1; }, but that causes other inconveniences for users. You could attempt to workaround the bug in JavaScript, but I think that would be a lot of work.

提交回复
热议问题