3 ms·
Putting nice markup (or even OK formatted text) into SVG has been a pain for me. I put an SVG background, then layer the HTML over it. It works but, I'm not h
by edoceo 6y ago
Putting nice markup (or even OK formatted text) into SVG has been a pain for me.
I put an SVG background, then layer the HTML over it.
It works but, I'm not happy about it.
- uhoh-itsmaciek 6y agoCheck out the sibling answer above, you can embed HTML in svg and it generally works well: https://developer.mozilla.org/en-US/docs/Web/SVG/Element/foreignObject https://developer.mozilla.org/en-US/docs/Web/SVG/Element/for...
- edoceo 6y agoI'm familiar with those docs. That method was a poor experience for my mobile users. SVG support on mobile is not that great. Sadly FF had the most issues so I'm stuck with my workaround for now.