BootStrap 類 input-group-xs


要製作小號輸入組,使用 input-group-xs。

你可以嘗試執行以下程式碼,在 Bootstrap 中實現 input-group-xs 類 -

示例

即時演示

<!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-xs">
               <span class = "input-group-addon">$</span>
               <input type = "text" class = "form-control">
            </div>
         </form>
      </div>
   </body>
</html>

更新於: 2020-06-12

408 次瀏覽

啟動你的 事業

完成課程,獲得認證

開始
廣告
© . All rights reserved.