My CSS code is functioning properly in Chrome and Safari, but not in Firefox, IE, and Opera when I create the @keyframes rotate {}. It seems that these 4 lines might be causing the issue:
animation-duration: 4s;
animation-timing-function: linear;
animation-name:"rotate";
animation-iteration-count: infinite;
Is it due to these lines or the keyframe method itself? How can I resolve this?
CSS:
@-webkit-keyframes rotate {
/* Keyframe animations for Webkit browsers */
}
/* Keyframe animations for Firefox */
@-moz-keyframes rotate {
/* Keyframe animations for Firefox */
}
/* Standard keyframe animations */
@keyframes rotate {
/* Standard keyframe animations */
}
/* Keyframe animations for Internet Explorer */
@-ms-keyframes rotate {
/* Keyframe animations for IE */
}
/* Keyframe animations for Opera */
@-o-keyframes rotate {
/* Keyframe animations for Opera */
}