LoginSignup
1
1

More than 5 years have passed since last update.

CSS 3Dを使ってアニメーションさせたときの不可解な挙動

Posted at

CSS Animationのtransform 3dを使ってkeyframe animationを記述し、それをclassの付け外しによって発火できるようなcssを書いた。
すると、特定の端末で、アニメーション途中の奇跡が画面上に残るような不思議な挙動を起こすときがあった。

解決作としては、css animationが付与されていない側のclassでも、transform 3dの値を何かしら当てる方法をとって解決した。
(具体的には、transform: translateZ(0px);を書いた)

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1