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

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -