skip to Main Content

CSS local svg icon color

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 set the stroke…

VIEW QUESTION

Html – Fontawesome svg-icons in openlayers

I know similar questions have been asked before but their answers don't help me. I'm trying to use Fontawesome-Icons as markers in an Openlayers map like this: const svg = ` <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><!--!Font Awesome Free 6.5.2…

VIEW QUESTION
Back To Top
Search