LoginSignup
1
3

More than 5 years have passed since last update.

IE11でvwを使ったtransitionがうまくいかなかった

Posted at

サンプルあります。
https://jsfiddle.net/lovalotta/mrnkq5fh/

問題は表題の通り。left:0からleft:10vwtransitionしようと試みたところ、IE11でのみトランジションが変な挙動でした。Chrome、Firefoxは問題なし。IE11の問題なのか、vwの仕様なのかは調べてないです。

解決法としては、0(px)から10vwにするのがいけなかったので、0vwから10vwにトランジションさせれば問題ないことがわかりました。おそらく同じ問題が0vhや、0vmax0vminでも起こると思われます。0vhから10vmaxにトランジションするとどうなんだろうね!

いまMacから書いていてテストできてないので、同じように再現できるといいですね。

1
3
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
3