源代碼
點擊運行
<!DOCTYPE html> <html> <head> <title>Bootstrap 實例</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css"> <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script> <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script> </head> <body> <div class="container"> <div class="jumbotron"> <h1>我的第一個 Bootstrap 頁面</h1> <p>重置窗口大小,查看響應式傚果!</p> </div> <div class="row"> <div class="col-sm-4"> <h3>第一列</h3> <p>學的不僅是技術,更是夢想!</p> <p>再牛逼的夢想,也抵不住你傻逼似的堅持!</p> </div> <div class="col-sm-4"> <h3>第二列</h3> <p>學的不僅是技術,更是夢想!</p> <p>再牛逼的夢想,也抵不住你傻逼似的堅持!</p> </div> <div class="col-sm-4"> <h3>第三列</h3> <p>學的不僅是技術,更是夢想!</p> <p>再牛逼的夢想,也抵不住你傻逼似的堅持!</p> </div> </div> </div> </body> </html>
運行結果