<分区>
编辑问题以包含 desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem .这将有助于其他人回答问题。
关闭 7 年前。
标签 javascript jquery html css
<分区>
编辑问题以包含 desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem .这将有助于其他人回答问题。
关闭 7 年前。
我不想在我的网站上使用宽度滚动条,想知道您是否知道造成它的原因以及如何解决它(代码)。
我已经试过了:
html, body {
max-width: 100%;
overflow-x: hidden;
}
最佳答案
你的 div
row bg-about
有 css margin-right: -15px
只是包裹 row bg-about
在另一个 div .container-fluid
中,一切都会正常工作。
提示。
您应该始终将 row
包裹在 container
、container-fluid
或 col-*-*
关于javascript - 宽度滚动删除,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34502596/