<分区>
编辑问题以包含 desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem .这将有助于其他人回答问题。
关闭 3 年前。
<分区>
编辑问题以包含 desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem .这将有助于其他人回答问题。
关闭 3 年前。
我的网页在手机等小屏幕上的右侧可滚动侧显示空白。它在大屏幕上工作正常,但在手机上使用时无法相应地调整其大小。请帮忙。
.row-header {
padding: 0px auto;
margin: 0px auto;
}
.jumbotron {
background-color: #9e9e9e;
padding: 60px 90px 60px 90px;
}
.jumbotron h1 {
color: floralwhite;
font-family: 'Libre Caslon Text', serif;
letter-spacing: 3px;
position: relative;
text-align: center;
}
.jumbotron p {
font-family: 'Dancing Script', cursive;
font-size: 25px;
color: antiquewhite;
position: relative;
text-align: center;
}
最佳答案
有些元素比屏幕大,不适应。通过检查你会发现的元素来检查。有元素链接吗?
关于javascript - 我的网页在使用 html 和 css 构建的页眉和页脚右侧显示空白,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57514074/