ここにはfiddleがあり、以下はCSSコードです(HTMLはSVGの楕円です)。 Chrome、Firefox、Operaで動作しますが、IEやEdgeでは動作しません。 IEとEdgeでアニメーションを見るにはどうすればいいですか?MS EdgeやIE11でこのCSS3アニメーションが動作しないのはなぜですか?
#my-circle {
stroke: blue;
stroke-dasharray: 1100;
stroke-dashoffset: 500;
-moz-animation: draw-first-shape 1s forwards 3;
-webkit-animation: draw-first-shape 1s forwards 3;
animation: draw-first-shape 1s forwards 3;
}
@-moz-keyframes draw-first-shape {
from {
stroke-dashoffset: 1100;
}
to {
stroke-dashoffset: 0;
}
}
@-webkit-keyframes draw-first-shape {
from {
stroke-dashoffset: 1100;
}
to {
stroke-dashoffset: 0;
}
}
@keyframes draw-first-shape {
from {
stroke-dashoffset: 1100;
}
to {
stroke-dashoffset: 0;
}
}
は 'ストロークdashoffset'アニメーションはIEでは動作しません。しかし、[このデモ](https://jsfiddle.net/vgh1xhbq/1/)のように 'stroke-dasharray'を使うと、Edgeで少なくとも動作します。 IE11ではまだ動作しません。 – Harry
素晴らしい作品です、ありがとう! – camcam
重複:http://stackoverflow.com/questions/41470958/css-transition-doesnt-work-properly-in-chrome/41471277#41471277 –