CSS3, WebKit Transition Order? How to queue to the transitions?

前端 未结 2 664
名媛妹妹
名媛妹妹 2021-02-05 17:34

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

2条回答
  •  广开言路
    2021-02-05 18:05

    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;
    

提交回复
热议问题