Rare IE10 bug: CSS animation of background-position fails with multiple backgrounds and percentage

前端 未结 1 1445
深忆病人
深忆病人 2021-01-22 22:59

This is a very specific bug - however, I would love for someone to show me a workaround! The bug basically consists in IE10 failing to do CSS animation of background-posit

相关标签:
1条回答
  • 2021-01-22 23:47

    You need to put a percentage sign after the zeros. It must be so:

    @keyframes move {
      0% { background-position: 0%, 0%; }
      100% { background-position: 0%, 100%; }
    }
    
    0 讨论(0)
提交回复
热议问题