Relative Content

Tag Archive for csssvgicons

CSS local svg icon color [duplicate]

This question already has an answer here: currentColor in background image svg (1 answer) Closed 5 days ago. I am trying to setup some custom svg icons like this <i class=”my-svg-icon”></i> I have the svg displayed but cannot adjust the color .my-svg-icon { height: 25px; width: 25px; color: red !important; content: url(‘/mysvg.svg’); } I have […]