Animate calligraphy using image-file instead of SVG
问题 I am creating animated calligraphy using the stroke-dashoffset technique, applying the stroke as an animated mask on top of an SVG. This works on most browsers, but I would like to apply the same mask on top of a PNG instead. That way, even if the browser has trouble with both SVG and mask (IE...), at least it will just display the PNG as-is. Here is a codepen of the working calligraphy with pure SVG: https://codepen.io/benviatte/pen/PMzmYB Here is the codepen of the non-working calligraphy