You’re trying to change the images background color. A files background color. If you are trying to hide it, just set opacity:0; or visibility:hidden; or display:none; or a wide variety.
oh ok, so my setup doesn’t make sense, I thought id be smart if I made it so that the image could be swapped out in the HTML (not the CSS) Is this possible?
I would think that id have
then when when the mouse hovers over the image, I can turn its opacity to 0, but since it’ll also hover over the div would I just give it a background color (after I give it a height)
Try doing this with z-index. This also means you have to include your link and image in a div. You set the div to relative positioning and the image to absolute. So basically you have a colored div with z-index 1 and the image z-index 2. on ;hover you switch the z-index numbers. This might be a workaround and I’m not sure if it works.