html - Bootstrap - 制作响应式全宽模板,非响应式

标签 html css twitter-bootstrap templates twitter-bootstrap-3

我目前正在使用来自 Bootstrap 3 的模板: Bootstrap Dashboard Template

它使用 .container-fluid 类,它使模板流畅/响应。

我的问题是 - 我想从全 Angular 模板中受益,但我不想支持响应式布局。

我希望实现这个模板布局:enter image description here

我怎样才能做到这一点,而不必处理响应式的东西?

最佳答案

bootstrap documentation有一段禁用响应。

Steps to disable page responsiveness

  1. Omit the viewport <meta> mentioned in the CSS docs
  2. Override the width on the .container for each grid tier with a single width, for example width: 970px !important; Be sure that this comes after the default Bootstrap CSS. You can optionally avoid the !important with media queries or some selector-fu.
  3. If using navbars, remove all navbar collapsing and expanding behavior.
  4. For grid layouts, use .col-xs-* classes in addition to, or in place of, the medium/large ones. Don't worry, the extra-small device grid scales to all resolutions.

关于html - Bootstrap - 制作响应式全宽模板,非响应式,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23825171/

相关文章:

css - 使用我的外部样式表覆盖 Bootstrap

javascript - YouTube API - 根据 API 抓取缩略图的鼠标悬停更改 H1 标签?

javascript - 通过数据属性获取元素id

调整窗口大小时 HTML 菜单元素会移动

css - IE 11 或 Google Chrome 的主要 Less 代码更改

javascript - 缩放 div 文本并将其显示在 block 上(onClick 并使用 Javascript)

javascript - 需要帮助在单击时切换此按钮

html - 将剪辑路径位置移动到鼠标光标

javascript - 打开或关闭响应式菜单时的内容覆盖

html - 验证错误时 ASP.NET MVC5 文本区域未以红色标出