im using the modern ui icons pack in my project using the svg path.
what i try to do is to change the fill color on hover .
but i have no success..
hope someone help me out with this .
Thanks in advance.
Code:
<div id="Main">
<ul>
<li>
<form>
<button>
<div class="inner">
<svg>
<path d="M35.......etc..">
</path>
</svg>
</div>
</button>
</form>
</li>
</ul>
</div
You can overwrite svg css property as per below.
Sorry for answering a very very old post.
I think the best way is to see what tag was wrapped inside your
<svg>
.So for example:
As you can see the
<path>
tag is wrapped by the<svg>
. Then you can just add<path>
with this way in css:Here is the working snippet: