When to Use SVG vs. When to Use Canvas

2 · CSS-Tricks · Nov. 12, 2019, 3:15 p.m.
Summary
SVG and canvas are both technologies that can draw stuff in web browsers, so they are worth comparing and understanding when one is more suitable than the other. Even a light understanding of them makes the choice of choosing one over the other pretty clear. A little flat-color icon? That's clearly SVG territory. An interactive console-like game? That's clearly canvas territory. I know we didn't cover why yet, but I hope that will become clear as we dig into it.… Read article The post When ...