November 12, 2019 02:47 pm GMT
Original Link: https://css-tricks.com/when-to-use-svg-vs-when-to-use-canvas/
When to Use SVG vs. When to Use Canvas
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 to Use SVG vs. When to Use Canvas appeared first on CSS-Tricks.
Original Link: https://css-tricks.com/when-to-use-svg-vs-when-to-use-canvas/
Share this article:
Tweet
View Full Article