Is there any way I can replace the image specified in the SRC attribute of the image tab with any css trick?
<img src = "setting-icon.png"></img>
I want to replace the-icon.png parameter with the css property, I can put another image in the background using the background-image property of the image tag, but I need to hide the one specified in src and show that one I specify in background-image property in css.
Yes, this is a strange requirement, but I am doing the customization in a third-party application, where I have only control over css, I canβt change the HTML tags.
Thanks for reading!
source
share