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>
广告