I have the following:
-webkit-transition-property: top, bottom, z-index;
-webkit-transition-duration: 0.5s;
Problem is I don\'t want the z-ind
And for your info, in javascript, you can also listen on the webkitTransitionEnd
event and modify the z-index when this event is fired.
This event have two useful properties :
You have to specify a delay on the z-index transition:
-webkit-transition-property: top, bottom, z-index;
-webkit-transition-duration: 0.5s;
-webkit-transition-delay: 0s, 0s, .5s;