animation.translateY动画中可以使用百分数吗?

发布于 6 年前作者 guiying8011025 次浏览最后编辑 6 年前来自 ask

this.animation.translateY(-100%).step()
想移动元素本身高度的距离,元素高度不确定,这样写貌似有问题,有什么好的解决办法吗

0 回复
暂无回复