In Webkit, the following script works as expected. That is, #navigation left padding translates correctly from 0 to 100px.
In Firefox, identical code somehow prevents the transition from happening.
http://jsfiddle.net/threehz/JEMN6/27/
my css:
#navigation { background: #ccc; -webkit-transition: padding-left 0.125s ease; -moz-transition: padding-left 0.125s ease; transition: padding-left 0.125s ease; margin: 0; padding-left: 0; width: 100%; } .fixed #navigation { padding-left: 100px; } .fixed #page-navigation { position: fixed;
This seems to be due to a change in the positioning of the parent element. As noted above, if I delete the position: fixed from the parent element, the transition works in Firefox:
http://jsfiddle.net/threehz/JEMN6/28/
The problem is that I am trying to execute, the title should become fixed, And the child fill property should go, so just delete the position: not an option fixed.
Thoughts?
source share