Why is my CSS3 Transition not working in Firefox?

后端 未结 2 1028
离开以前
离开以前 2020-12-06 16:28

It\'s working elsewhere on the site using the same CSS as far as I can tell. It works in Chrome. Here is the full page: anthonyotislawrence.com

Here\'s the part th

相关标签:
2条回答
  • 2020-12-06 17:08

    It looks like FF wont transition default values. They have to be declared on the original element before it will transition to the new properties.

    0 讨论(0)
  • 2020-12-06 17:13

    I had an issue similar to the OP where my transitions worked in every browser except Firefox. In my case I had intervals of zero seconds. I used just a 0 and not 0s. This caused the transition to not work at all in Firefox. I don't think this was the issue for the OP but posting here in case it helps someone else.

    This does not work in Firefox:

    top 0 linear 1s
    

    This works:

    top 0s linear 1s
    
    0 讨论(0)
提交回复
热议问题