CSS3 animation and background-image in Firefox -
i have bit of css3 animation in website, , works fine on safari when run site in firefox, doesn't animate. here code:
.ad{ position:relative; left:740px; top:240px; width:260px; height:195px; background-image:url('ad1.png'); animation:myfirst 4s; -webkit-animation:myfirst 4s; /* safari , chrome */ -webkit-animation-delay:2s; -webkit-animation-duration:0s; -webkit-animation-fill-mode: forwards; } @keyframes myfirst { {background-image:url('ad1.png')} {background-image:url('ad2.png')} } @-webkit-keyframes myfirst /* safari , chrome */ { {background-image:url('ad1.png');} {background-image:url('ad2.png');} } }
now i've noticed issue arises when site hits
background-image:url('');
if change these
background:color;
then works, want use image. i've tried adding -moz- prefixes, doesn't work. missing? there way make firefox acknowledge
background-image:url('')
the ability interpolate between background images pretty new proposal far, , not supported in browsers. firefox doesn't implement yet.
Comments
Post a Comment