<!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>無標題文檔</title> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="css/bootstrap.css"> <style> .glyphicon-heart {font-size: 100px; color: red;} </style> </head> <body> <div class="container"> <input type="button" value="按鈕" class="btn" /> <input type="button" value="按鈕" class="btn btn-default" /> <input type="button" value="按鈕" class="btn btn-link" /> <br> <input type="button" value="按鈕" class="btn btn-primary" /> <input type="button" value="按鈕" class="btn btn-primary btn-lg" /> <input type="button" value="按鈕" class="btn btn-primary btn-sm" /> <input type="button" value="按鈕" class="btn btn-primary btn-xs" /> <br><br> <input type="button" value="按鈕" class="btn btn-primary" /> <input type="button" value="按鈕" class="btn btn-primary active" /> <input type="button" value="按鈕" class="btn btn-primary disabled" /> <br><br> <a href="#" value="按鈕" class="btn btn-primary">按鈕</a> <button class="btn btn-primary">按鈕</button> <br><br> <button class="btn btn-primary btn-block">按鈕</button> </div> </body> <script src="js/jquery-2.1.3.js"></script> <script src="js/bootstrap.js"></script> </html>
<!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>無標題文檔</title> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="css/bootstrap.css"> <style> .glyphicon-heart {font-size: 100px; color: red;} </style> </head> <body> <div class="container"> <div class="btn-group"> <button class="btn btn-primary">按鈕1</button> <button class="btn btn-primary">按鈕2</button> <button class="btn btn-primary">按鈕3</button> </div> <br><br> <div class="btn-group btn-group-justified"> <button href="#" class="btn btn-primary">按鈕1</button> <button href="#" class="btn btn-primary">按鈕2</button> <button href="#" class="btn btn-primary">按鈕3</button> </div> <br><br> <div class="btn-group btn-group-justified"> <a href="#" class="btn btn-primary">按鈕1</a> <a href="#" class="btn btn-primary">按鈕2</a> <a href="#" class="btn btn-primary">按鈕3</a> </div> <br> <div class="btn-group-vertical"> <button class="btn btn-primary">按鈕1</button> <button class="btn btn-primary">按鈕2</button> <button class="btn btn-primary">按鈕3</button> </div> <div class="btn-group-vertical btn-group-lg"> <button class="btn btn-primary">按鈕1</button> <button class="btn btn-primary">按鈕2</button> <button class="btn btn-primary">按鈕3</button> </div> <div class="btn-group-vertical btn-group-sm"> <button class="btn btn-primary">按鈕1</button> <button class="btn btn-primary">按鈕2</button> <button class="btn btn-primary">按鈕3</button> </div> <div class="btn-group-vertical btn-group-xs"> <button class="btn btn-primary">按鈕1</button> <button class="btn btn-primary">按鈕2</button> <button class="btn btn-primary">按鈕3</button> </div> <br><br> <a href="#" class="btn btn-primary">按鈕<span class="caret"></span></a> <br><br> <a href="#" class="btn btn-primary dropup">按鈕<span class="caret"></span></a> <br><br> <div class="btn-group dropup"> <button class="btn btn-primary">按鈕</button> <button class="btn btn-primary"><span class="caret"></span></button> </div> </div> </body> <script src="js/jquery-2.1.3.js"></script> <script src="js/bootstrap.js"></script> </html>