Here is the jsFiddle : http://jsfiddle.net/ybGpJ/4/
This is frustrating. In Chrome and Safari, the transition fires just fine, but on Firefox, nothing is animated! Why is that?
This seems to be coming from the addClass() method. After bringing up the console in Firebug and toggling the class .scene (used to transition in my css) on and off, I can tell you that no animation happens. It just seems to toggle the visibility of the background image and h1.
However, if I toggle the checkbox for either the opacity or the transform (still in firebug), it animates just fine gaahhhh...
Can anybody help?
I performed the following steps to get your page to work in Firefox.
.scene {overflow:hidden;}.-moz-transition: all 1s ease-in-out; to both classes: .page-title and .animated-header-bg.The above works in Firefox and Chrome in my testing. You can edit my changes here: http://jsbin.com/amofih/1/edit.
My changes were minimal and, IMO, not ideal. You have a lot of CSS transitions and transformations. You may want to look into find a more efficient way of creating the animation (maybe via a JS library).
Also, I know my addition of -moz-transition: all 1s ease-in-out; just overrode your transition definitions, but I thought it would still be helpful for you. Here you at least see that it can work in Firefox. There's probably just something wrong with your definitions. I'd search around as there are many examples you can use for reference.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With