【发布时间】:2013-07-04 00:16:44
【问题描述】:
这是我第一次尝试 twitter bootstrap 和 css 网格。
我使用 Basic Marketing Site 作为我的示例 html 标记,并在 .hero-unit 类顶部的 div.container 之外添加了另一个标题/徽标框,因为我希望能够在所有尺寸上使用 100% 的页面宽度.
这是我的标题标志标记。
<header id="logo" class="logo-box">
<div class="logo-container">
<h1>Logo</h1>
<p>Lorem ipsum</p>
</div>
</header>
如何从黑框的顶部、左侧、右侧删除边距?顺便说一下,我使用 bootstrap-responsive.css。我应该为新标记制定新规则,还是有一个跨度或行类,我可以只包含来自 bootstrap.css 的跨度/行的徽标标记和样式。
图片链接将显示徽标框和我要删除的边距。
提前致谢。
【问题讨论】:
标签: css html twitter-bootstrap