@MikeBish13
Posted
Good job on this project!
In answer to your question about SVGs: if you want to style them on :hover
then the best thing to do is actually insert them into your code, rather than use an img
tag with a src
attribute.
The beauty of SVGs is that they are actually built with code, so you can access and change different properties without having to overlay colors onto them, as you've done here. It'll make things so much easier for you. For example, you can usually access an SVGs outline through:
svg {
path {
stroke: blue;
}
}
Check out this link to find out more about styling SVGs.
Marked as helpful
@cwebdev
Posted
@MikeBish13 Thank you for the guidance.