Bootstrap学习笔记-布局
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>
轉載于:https://www.cnblogs.com/airycode/p/4831609.html
總結
以上是生活随笔為你收集整理的Bootstrap学习笔记-布局的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: cocos2D(九)---- CCAct
- 下一篇: PHP去掉诡异的BOM \ufeff