Article From:https://segmentfault.com/q/1010000012136766
Question:
1.For example, this Noob meets a H5 project that requires SVG, because SVG itself has too much code.To simplify, I use embed tags to embed SVG into my HTML page.Now you need to get the path in SVG to do the style operation.How do you do it?Attachment: in Chrome browser developer tool Console, you can use selectors to get such output.I don't know if this is the result of browser rendering, but the problem is that I don't know how to get the path elements inside and then operate.

Answer 0:

Hello, the same question I have encountered. Have you solved it?

Leave a Reply

Your email address will not be published. Required fields are marked *