Bootstrap 類 input-group-lg


要讓輸入組更大,請使用 input-group-lg。

你可以嘗試執行以下程式碼,在 Bootstrap 中實現 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 style = "padding: 100px 100px 10px; background: blue;">
         <form class = "bs-example bs-example-form" role = "form">
            <div class = "input-group input-group-lg">
               <span class = "input-group-addon">$</span>
               <input type = "text" class = "form-control">
            </div>
         </form>
      </div>
   </body>
</html>

更新於:12-6-2020

149 次瀏覽

開啟你的職業生涯

完成課程獲得認證

開始學習
廣告
© . All rights reserved.