Bootstrap学习笔记-布局
默认是响应式布局,就是你在改变页面的时候也不会出现乱的现象。
<html>
<head>
<meta charset="utf-8">
<title>布局</title>
<link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap.css">
<script type="text/javascript" src="bootstrap/js/jquery-1.9.1.js"></script>
<script type="text/javascript" src = "bootstrap/js/bootstrap.js"></script>
<meta name="viewport" content="width-device-width,initial-scale=1">
</head>
<body>
<div class="container">
<h1 class="page-header">固定的宽度</h1>
</div>
<div class="container-fluid">
<h1 class="page-header">固定的宽度百分比</h1>
</div>
</body>
</html>