CSS display none and opacity animation with keyframes not working

前端 未结 8 2023
广开言路
广开言路 2020-12-01 10:43

I have a very basic piece of HTML with the objective of animating from display: none; to display: block with opacity changing from 0 to 1.

8条回答
  •  自闭症患者
    2020-12-01 11:30

    You can not animate display property. You can try with visibility: hidden to visibility: visible

提交回复
热议问题