在  vue 项目中,有个页面切换动画,然后内容里的   position : fixed 只相对 viewBox 来定位,检查后发现动画的css 中的个属性

-webkit-perspective: 1200px;
    -moz-perspective: 1200px;
    perspective: 1200px;

然后里面的 fixed 就根据  有这个属性来定位了,暂时不知道 什么原因,去掉就好了

Logo

前往低代码交流专区

更多推荐