帶 Bootstrap 的大型輸入組
要使用 Bootstrap 設定大型輸入組,請使用 .input-group-lg 類。
你可以嘗試執行以下程式碼來實現 .input-group-lg 類 −
示例
<!DOCTYPE html> <html> <head> <title>Bootstrap Example</title> <link href = "/bootstrap/css/bootstrap.min.css" rel = "stylesheet"> <script src = "/scripts/jquery.min.js"></script> <script src = "/bootstrap/js/bootstrap.min.js"></script> </head> <body> <div class = "container"> <h1>Search</h1> <form> <div class = "input-group input-group-lg"> <input type = "text" class="form-control" placeholder = "Search here..."> <div class = "input-group-btn"> <button class = "btn btn-primary" type = "submit"> </button> </div> </div> </form> </div> </body> </html>
廣告
資料結構
網路
RDBMS
作業系統
Java
iOS
HTML
CSS
Android
Python
C 程式設計
C++
C#
MongoDB
MySQL
Javascript
PHP