The CreatorCon Call for Content is officially open! Get started here.

SVG Dynamic Color change in portal

Arya9
Tera Contributor

Hello Experts,

 

I was working on portal and I wanted to change the SVG color to black using css. I don't want to set it from svg file directly by editing it because on hover I again wanted to change its color. But in servicenow it is not working,

Can you please let me know what went wrong.

In below image beside the computers there is one svg image and at the right you can see the svg file css, background is getting applied but fill is failing.

Screenshot 2024-03-27 105336.png

0 REPLIES 0