flex布局中transform出错

在flex布局下,若应用transform 的动画的子元素没有使用进行定位,则动画过程中,子元素将相对display:flex的元素进行static定位

动画结束后位置正常;

修复代码只需要position:relative

html伪代码

<flex>

   <div>

   <div>

   <div>

   <animation>

css伪代码

animation{

  position:relative;

}

原文地址:https://www.cnblogs.com/01-sunkey/p/4766621.html