標籤:style blog http color os 使用 for ar 2014
頁尾部分比較簡單,把一個12列的Grid切分。
<footer>
<div class="container">
<div class="row">
<div class="col-sm-2">
<h6>Copyright ©新浪體育</h6>
</div>
<div class="col-sm-4">
<h6>關於我們</h6>
<p>
中國上海/2014年8月14日 — 服務於中國及全球華人社群的領先線上媒體公司新浪公司(NASDAQ GS: SINA)今日公布了截至2014年6月30日的第二季度未經審計的財務報告。
</p>
</div>
<div class="col-sm-2">
<h6>導航</h6>
<ul class="unstyled">
<li><a href="">首頁</a></li>
<li><a href="">服務</a></li>
<li><a href="">連結</a></li>
<li><a href="">聯絡我們</a></li>
</ul>
</div>
<div class="col-sm-2">
<h6>Follow us</h6>
<ul class="unstyled">
<li><a href="">微博</a></li>
<li><a href=""></a></li>
<li><a href="">來往</a></li>
</ul>
</div>
<div class="col-sm-2">
<h6>本網站由<span class="glyphicon glyphicon-heart"></span>Darren製作</h6>
</div>
</div>
</div>
</footer><!--頁尾結束-->
對頁尾部分進行CSS設定。
/*----------------------------------------
頁尾
------------------------------------*/
footer { background: #333;
color: #eee;
font-size: 11px;
padding: 20px;
}
ul.unstyled { list-style: none;
padding: 0;
}
footer h6 { color: white;
}
參考資料:
Code a Responsive Website with Bootstrap 3 --by Brad Hussey
http://getbootstrap.com/
http://bootswatch.com/
http://www.tutorialspoint.com/
http://www.placehold.it/
“使用Bootstrap 3開發響應式網站實踐”系列包括:
使用Bootstrap 3開發響應式網站實踐01,前期準備、導航地區等使用Bootstrap 3開發響應式網站實踐02,輪播使用Bootstrap 3開發響應式網站實踐03,輪播下方的內容排版使用Bootstrap 3開發響應式網站實踐04,使用Panels展示內容使用Bootstrap 3開發響應式網站實踐05,使用Tab、Modal、Form展示內容,使用Popover、Tooltip展示提示資訊使用Bootstrap 3開發響應式網站實踐06,使用ListGroup、Thumbnails展示內容使用Bootstrap 3開發響應式網站實踐07,頁尾
使用Bootstrap 3開發響應式網站實踐07,頁尾