使用
- 在官网下载后,将css、font、js包下的内容粘贴的项目中
- 在代码中引入
<link rel="stylesheet" href="../css/bootstrap.min.css">
<body>
</body>
<script src="../js/jquery-1.12.4.min.js"></script>
<script src="../js/bootstrap.min.js"></script>
容器
- 流体容器
<style>
.container-fluid {
background-color: rosybrown;
}
</style>
<div class="container-fluid">
大河之剑天上来
</div>
- 固定容器
<style>
.container {
background-color: rosybrown;
}
</style>
<div class="container">
大河之剑天上来
</div>
媒体查询阈值:
- 大于等于1200px(lg 大屏PC):width 为1170px(1140