Modify SVG fill color when being served as Background-Image

后端 未结 16 1033
再見小時候
再見小時候 2020-11-22 06:31

Placing the SVG output directly inline with the page code I am able to simply modify fill colors with CSS like so:

po         


        
16条回答
  •  感情败类
    2020-11-22 07:19

    Late to the show here, BUT, I was able to add a fill color to the SVG polygon, if you're able to directly edit the SVG code, so for example the following svg renders red, instead of default black. I have not tested outside of Chrome though:

    
        
    
    

提交回复
热议问题