私はアプリケーションで単純な読み込みグリッドを作成し、その上にアニメーションを追加しました。このアニメーションは、IE11を除くすべてのブラウザで動作するようです。IE11でCSS無限アニメーションが機能しない
誰かが私がなぜそれがうまくいかず、IE11で動作させる方法を理解する助けになることができますか?
.loading {
background-color: #ededed;
height: 12px;
width: 500px;
overflow: hidden;
}
.animation {
animation: loading 1.2s linear;
animation-iteration-count: infinite;
background-color: #e0e0e0;
height: 100%;
left: 0;
position: relative;
top: auto;
width: 300px;
}
@keyframes loading {
from {left: -30rem}
to {left: calc(100% + 30rem)}
}
<div class="loading">
<div class="animation"></div>
</div>
JSFiddleもし興味があるなら:https://jsfiddle.net/9shufwsL/
可能重複https://stackoverflow.com/questions/34809544/css3-animation-is-not-working-in-ie11-but-works-in -other-browsers – PraveenKumar
このアニメーションを試してみてください: –
@PraveenKumar私の問題はその質問に対する答えの何も答えられていないので、 –