Change SVG color

0
I have a nice black svg icon set, which I load in with css .icn-website{ background: url(../../icn/tmp.svg); } Is there a way to change the black lines to white lines?
asked
1 answers
1

Hi Jason,

Yeah that should be possible with masking. Try the following code: 

.icn-website{
  background-color: white;
  mask: url(../../icn/tmp.svg);
}

Take a look at: https://codepen.io/JDraaijer/pen/PBPNzm. 

Cheers,

Jeffrey

answered