Reproduction onlineキーフレームアニメーション火災(10、11、12、13)
Reproduction with vanilla Javascript
私はこれを使って、CSSアニメーションを作成しています:
持つ.slides.future.active {
-webkit-animation-name: sectionIn;
animation-name: sectionIn;
}
@keyframes sectionIn {
....
}{
.animated {
transition: all 800ms ease;
-moz-transition: all 800ms ease;
-webkit-animation-duration: 800ms;
animation-duration: 800ms;
-webkit-animation-fill-mode: both;
animation-fill-mode: both;
-webkit-animation-timing-function: ease;
timing-function: ease;
}
.slides.future{
-webkit-transform: translate3d(0, 100%, 0);
-ms-transform: translate3d(0, 100%, 0);
transform: translate3d(0, 100%, 0);
}
をHTMLの後に:
今、クラスを削除するときfuture
を要素から削除すると、アニメーションは再び発生します。
これはIEでのみ発生します。 (10、11、12、13)のFirefox、Chromeでうまく機能し、サファリ...
Reproduction with vanilla Javascript
FWIW Internet Explorerは唯一@JamesDonnellyそれはあなたがエッジバージョンを考える方法によって異なりバージョン11 –
に上がります。 [Browserstack](http://www.browserstack.com)は12と13と呼んでいます。 – Alvaro
Edgeは別のブラウザです。これはIE11で初めて登場したEdgeHTMLと呼ばれ、その後はバージョン14で動作しますが、ブラウザとしてのMicrosoft Edgeは現在バージョン20のものです。 –