html - Make image ignore color animation in css -


i have html code:

<a href="(link)" target="_blank"><img src="(image source)" title="click go website!" style="position:fixed;top:10px;left:10px;z-index:999"/></a> 

and here css code:

a {  color: inherit;  text-decoration: underline; -webkit-animation: hue 60s infinite linear; }  a:hover { color: #f35626; } 

but want make image (in html code above) not use css code shown above because css used other parts of site. know how?

thanks.

you can put class on image link , filter out in css

<a class="imagelink" href="(link)" target="_blank"><img src="(image source)" title="click go website!" style="position:fixed;top:10px;left:10px;z-index:999"/></a> 

css:

a {     color: inherit;     text-decoration: underline; }  a:not(.imagelink) {     -webkit-animation: hue 60s infinite linear; }  a:hover {     color: #f35626; } 

Comments

Popular posts from this blog

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -