2017-09-11 59 views

回答

0

你需要媒体查询添加到身体

body { 
    background: #0f0f0f; 
    overflow-y: hidden; 
    -webkit-transition: all .3s; 
    -moz-transition: all .3s; 
    -ms-transition: all .3s; 
    -o-transition: all .3s; 
} 

溢出-Y:隐藏;防止你的Android浏览器scroling 所以,你需要或者删除此hiddend或添加meddia查询

@media screen and (max-width: 480px) { 
    body { 
     overflow-y: scroll; 
    } 
} 
+0

Thinks alooot its working,I have done Overflow:scroll; –

+0

请将此答案标记为正确。谢谢 –

0

试着在你的身体使用一个类似下面,HTML。

body 
    { 
    background: #0f0f0f; 
    min-height:100%; height:100%; 
    overflow:scroll; 
    display:block; 
    -webkit-transition: all .3s; 
    -moz-transition: all .3s; 
    -ms-transition: all .3s; 
    -o-transition: all .3s; 
    } 
+0

这是否工作?让我们知道如果你有别的东西没有工作 –