I'm feeling lost with this issue. I am trying to animate the color of an icon font, and it's working smoothly in all modern browsers except for IE 8!
Here is the link I am working with:
<a id="newsletter_subbut"><i class="icon-web-mail"></i></a>
This is the CSS code I have written:
#newsletter_subbut {
border: none;
height: 30px;
width:40px;
margin-left: -8px;
font-size:22px;
position:absolute;
display:inline-block;
padding-top:9px;
bottom:0px;
z-index: 1;
}
.icon-web-mail:before {
font-family: 'batch';
speak: none;
font-style: normal;
font-weight: normal;
line-height: 1;
-webkit-font-smoothing: antialiased;
content: "\F14C";
}
And here is the jQuery code I am using:
$('#newsletter_subbut').find("i").stop().animate({color: "#fa2a18"},'slow');