使用Bootstrap 3開發響應式網站實踐07,頁尾

來源:互聯網
上載者:User

標籤:style   blog   http   color   os   使用   for   ar   2014   

頁尾部分比較簡單,把一個12列的Grid切分。

    <footer>
        <div class="container">
            <div class="row">
                <div class="col-sm-2">
                    <h6>Copyright &copy;新浪體育</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,頁尾

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.