Ich habe ein einfaches Laden von Raster in meiner Anwendung erstellt und eine Animation darüber hinzugefügt. Diese Animation scheint in jedem Browser außer IE11 zu funktionieren.CSS unendliche Animation funktioniert nicht in IE11
Kann mir jemand helfen zu verstehen, warum es nicht funktioniert und wie es in IE11 funktioniert?
.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 wenn Sie interessiert sind: https://jsfiddle.net/9shufwsL/
möglich doppelte https://stackoverflow.com/questions/34809544/css3-animation-is-not-working-in-ie11-but-works-in -other-browsers – PraveenKumar
Probieren Sie diese 'Animation: Laden von 1.2s unendlich;' –
@ PraveenKumar nicht so viel, weil mein Problem nicht beantwortet wird durch irgendetwas in der Antwort auf diese Frage –