CSS3 animation and background-image in Firefox

后端 未结 3 1930
予麋鹿
予麋鹿 2020-12-06 08:54

I have a bit of CSS3 animation in my website, and it works fine on Safari but when I run the site in Firefox, it doesn\'t animate. Here is the code:

.ad{
pos         


        
3条回答
  •  悲&欢浪女
    2020-12-06 09:31

    According to the latest working draft of the spec (14 August 2015), background-image is defined as non animatable.

    Then, Firefox is just following the spec, and the behavior of browsers which animate background-image is non-standard and shouldn't be relied on.

提交回复
热议问题