html - CSS to change image URL -


how can use entirely separate css file change/override url image image.png?

<div id="id1" class="class1">     <div id="id2" class="class2">         <div class="class3">             <div id="id3">                 <a class="logo" href="http://domain.com" tabindex="-1">                     <img src="https://image.png"></img>                 </a>             </div>         </div>     </div> </div> 

thanks much!

you can't change css, need javascript that. if trying change image on example hover, remove img-tags , use div instead on set background-image. in css can create block change image on hover.


Comments

Popular posts from this blog

wireshark - USB mapping with python -

c++ - nodejs socket.io closes connection before upgrading to websocket -

Deploying Qt Application on Android is really slow? -