Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/34.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Css 为什么引导使用translate3d进行.nav折叠_Css_Twitter Bootstrap_Webkit - Fatal编程技术网

Css 为什么引导使用translate3d进行.nav折叠

Css 为什么引导使用translate3d进行.nav折叠,css,twitter-bootstrap,webkit,Css,Twitter Bootstrap,Webkit,最近的ios 7.0错误导致我的导航菜单不显示。。。这让我想到了这个问题 为什么bootstrap在其移动样式上使用translate3d作为可折叠菜单 @media (max-width: 480px) { .nav-collapse { -webkit-transform: translate3d(0, 0, 0); } } 我必须覆盖它才能让菜单显示在ios7上 @media (max-width: 480px) { .nav-collapse

最近的ios 7.0错误导致我的导航菜单不显示。。。这让我想到了这个问题

为什么bootstrap在其移动样式上使用translate3d作为可折叠菜单

@media (max-width: 480px) {
    .nav-collapse {
        -webkit-transform: translate3d(0, 0, 0);
     }
}
我必须覆盖它才能让菜单显示在ios7上

@media (max-width: 480px) {
    .nav-collapse {
        -webkit-transform: none;
     }
}

这将强制在GPU中的单独合成层上渲染元素,从而加快动画速度


有关详细信息,请参见

这将强制在GPU中的单独合成层上渲染元素,从而加快动画速度


有关更多信息,请参见

用外行的话说,这有助于加速下滑效果?那么用外行的话说,这有助于加速下滑效果?