House our page within a Bootstrap Container Fluid Div
说明:
现在让我们确保页面里所有的内容都是响应式的。
让我们将 h3 元素放置于一个class属性为 container-fluid 的 div 元素中。
你的 div 元素应该有 class container-fluid。
确保你的每一个 div 元素都有一个闭合标签。
将你的 h3 元素嵌入到一个 div 元素中。
原始代码:
<h3 class="text-primary text-center">jQuery Playground</h3>
调试代码:
<div class="container-fluid">
<h3 class="text-primary text-center">jQuery Playground</h3>
</div>
Last updated
Was this helpful?