代码示例:(标识:bs_gs_container-fluid)
<!DOCTYPE html>
<html lang="en">
<head>
  <title>Bootstrap 实例</title>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link href="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/5.1.2/css/bootstrap.min.css" rel="stylesheet">
  <script src="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/5.1.2/js/bootstrap.min.js"></script>
</head>
<body>

<div class="container-fluid">
  <h1>我的第一张 Bootstrap 页面</h1>
  <p>这部分在 .container-fluid 类中。</p>
  <p>.container-fluid 类提供全宽容器,跨越视口的整个宽度。</p>     
</div>

</body>
</html>
运行结果: