In Internet Explorer, this animation seems to fluctuate. I read the answer to this question , and they sounded as if fixable.
I cannot use the image because the border radius is not constant, and I would prefer not to use an animated gif.
I understand that โwobbleโ is not a very good description, but I cannot think of any other words to describe it. I have not tested it with Opera / Safari, so if you have any of them, I would like to know if they are displayed correctly or if there is a problem. Run the following snippet in Chrome / Firefox and compare it with the snippet in Internet Explorer:
@keyframes spin{ 0% {transform:rotateZ(0deg);} 50% {transform:rotateZ(360deg);border-radius:60%;} 100%{transform:rotateZ(720deg);} } @-webkit-keyframes spin{ 0% {transform:rotateZ(0deg);} 50% {transform:rotateZ(360deg);border-radius:60%;} 100%{transform:rotateZ(720deg);} } @-moz-keyframes spin{ 0% {transform:rotateZ(0deg);} 50% {transform:rotateZ(360deg);border-radius:60%;} 100%{transform:rotateZ(720deg);} } @-ms-keyframes spin{ 0% {transform:rotateZ(0deg);} 50% {transform:rotateZ(360deg);border-radius:60%;} 100%{transform:rotateZ(720deg);} } @-o-keyframes spin{ 0% {transform:rotateZ(0deg);} 50% {transform:rotateZ(360deg);border-radius:60%;} 100%{transform:rotateZ(720deg);} } #spinme{ display:inline-block; position:relative; left:0; top:0; margin:0.2rem; width:0.8rem; height:0.8rem; border:0.2rem solid black; border-radius:0; outline: 1px solid transparent; transform:rotateZ(0deg); animation: spin infinite 4s; -webkit-animation: spin infinite 4s; -moz-animation: spin infinite 4s; -ms-animation: spin infinite 4s; -o-animation: spin infinite 4s; } #spinme:nth-child(2){animation-delay:0.06s} #spinme:nth-child(3){animation-delay:0.12s} #spinme:nth-child(4){animation-delay:0.18s}
<div id="spinme"></div> <div id="spinme"></div> <div id="spinme"></div> <div id="spinme"></div>
The tail outline , to fix a sharp edge, came from this answer .
As a side question and out of curiosity, which of these prefixes is really necessary? I looked at compatibility requirements to make it work in older browsers, but it only mentions the -webkit prefix: none of the -moz , -ms or -o prefixes seem necessary for any version of the browser.
I also just checked shouldiprefix , and they seem to agree with caniuse, but considering how similar the names are, I thought the same community / company could run both websites. Should I just remove the other prefixes?
internet-explorer css3 css-animations
jaunt Sep 06 '15 at 11:28 2015-09-06 11:28
source share