html - Twitter Bootstrap - 使井全宽

标签 html css twitter-bootstrap

我目前正在使用 bootstrap,这是我目前创建的: Website

但是,

我希望 twitter bootstrap 的井组件与井一起关闭并且井应该是全宽的。

到目前为止我已经创建了一个容器:

<div class="container-fluid">
  <div class="well">Watch out:
    <a>Video!</a> 
  </div>
</div>

如何做好收尾?

最佳答案

<div class="container-fluid">有 60 像素的上边距。只需将其减小到 40px,.well 之间就没有间隙了。和导航。

对于 .hero-bar排队加margin-top: -20px;<div class="hero-unit">

关于html - Twitter Bootstrap - 使井全宽,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15314985/

相关文章:

javascript - 如何在 Bootstrap 中将单选按钮设置为 "checked"?

html - Bootstrap 网格与 <table> 的对齐方式不同

javascript - 调用 JavaScript 函数

jquery - 如何阻止 jquery UI slider 滑出容器

html - 图像的高度为 : 0 in Chrome but not Firefox

jquery - 为什么 div :hover work with jquery . 没有动画?

html - CSS 背景 "cover"页面重新加载后无法正确显示

html - Bootstrap 的导航和页脚问题

javascript - 无法通过设置 video.currentTime = {value} 来设置 video.currentTime

javascript - 使用 Javascript 以编程方式禁用 HTML 复选框