skip to Main Content

Css – Could someone tell me why my radial gradient SVG is not animating on hover?

The radial gradient is supposed to grow from 10% to 100% on hover, but it's just not doing anything. Can't understand what I'm doing wrong. <svg id="svgDoc" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 500 500" shape-rendering="geometricPrecision" text-rendering="geometricPrecision"> <style><![CDATA[ #svgDoc { pointer-events: all…

VIEW QUESTION

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