Animate opacity doesn't work properly on IE

前端 未结 14 855
广开言路
广开言路 2020-12-23 14:13

I\'m trying to use animate() to change the height and opacity of a div. The div has an image background in CSS. It works fine on Firefox and Safari

14条回答
  •  清酒与你
    2020-12-23 15:01

    I noticed the problem was caused by position:relative of the container. If "switching" to absolute opacity animation will work.

提交回复
热议问题