0
Anyone knows about real web pages that use SVG in it's html code? Can you helpme with examples?
I think it's better way to do animation with javascript so I think no one uses SVG in his html code
2 Respostas
+ 1
SVG is scalable, flexible and very small in size so it certainly has some advantages over JavaScript.
You can even build games with only HTML, SVG and CSS:
https://aaronerhardt.gitlab.io/crab-tag/
Other examples of SVG animations:
https://code.sololearn.com/WYQWv9z9cndF/?ref=app
https://code.sololearn.com/WlvIcWheaLBC/?ref=app
https://code.sololearn.com/WKbIpKS5xzzT/?ref=app
https://code.sololearn.com/WOLeSEIPkAc6/?ref=app
https://code.sololearn.com/WXD1A9Uavi9t/?ref=app
https://code.sololearn.com/W0yhMsosjDyD/?ref=app
https://code.sololearn.com/W1vxapjh4mXe/?ref=app
https://code.sololearn.com/WcDRt1jBuobT/?ref=app
0
As you say use svg in your html code , yoy can and it's better then put images in your code because images take time to load and it's not . So you can add svg in your project like icons or svg avtar something , and SVG animation is powerful if you use any software to convert your SVG for animation because directly change SVG in animation is to hard so try to any pc software for SVG animation .. good luck 👍😊