我有一个大问题。我在我的网站上使用 bootstrap ver 3.1.1,我想在这个元素中禁用对 bootstrap 的响应,但我不能!
这是 html:
<div class="container">
<div class="row">
<div class="col-md-9" style="background-color: yellow;">col left</div>
<div class="col-md-3" style="background-color: pink;">col right</div>
</div>
</div>
这是我的自定义 CSS:
body {
background-color:#fdfdfd !important;
font-family:Arial, Tahoma !important;
min-width: 1024px !important;
}
.container {
max-width: none !important;
width:1024px !important;
background-color:#fff !important;
}
去除页眉中的meta标签
<meta name="viewport" content="width=device-width, initial-scale=1">
但是当我在 firefox 和 chrome 中测试我的网站时...当我调整浏览器的宽度时,元素 div“容器”的大小是固定的。但是 navbar-menu,gird 系统是响应式的。为什么?请帮助我。
对不起,因为我的英语不好!
非常感谢!
最佳答案
关于html - 为什么我不能在我的元素中禁用响应式 Bootstrap ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22011814/