Animation CSS3: display + opacity

前端 未结 15 2882
轮回少年
轮回少年 2020-11-27 11:42

I have got a problem with a CSS3 animation.

.child {
    opacity: 0;
    display: none;

    -webkit-transition: opacity 0.5s ease-in-out;
    -moz-transit         


        
15条回答
  •  渐次进展
    2020-11-27 12:05

    display: is not transitionable. You'll probably need to use jQuery to do what you want to do.

提交回复
热议问题