animation第一次动画期间元素不可见
发布于 6 年前 作者 jingang 8126 次浏览 来自 问答
  • 当前 Bug 的表现

animation第一次动画期间元素不可见,目前只在wifi环境下的iOS设备下有此bug,4G下正常

  • 预期表现

每一次元素都应该正常可见并运行动画

  • 复现路径

打开页面第一次

  • 相关代码

wxss

#title {

    width: 100%;

    height: 100%;

    animation: animation_go 7s ease-out 0s 1 normal both running;

}

@keyframes animation_go {

    0% {

    opacity: 0;

    }

    

    10%,90% {

    opacity: 1;

    }

    

    100% {

    opacity: 0;

    }

}

1 回复

麻烦提供一下出现问题的机型和微信版本,并且给个相关的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html),我们定位下问题

回到顶部