带Bootstrap的小型输入组
要使用Bootstrap设置小型输入组,请使用.input-group-sm类。
您可以尝试运行以下代码来实现.input-group-sm类&minsu;。
示例
<!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-sm">
<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>热门推荐
10 高考已上岸祝福语简短
11 毕业结婚祝福语简短精辟
12 双节祝福语简短英文
13 牙医生日祝福语简短
14 送给员工美好祝福语简短
15 生日祝福语舅舅 简短独特
16 甄嬛传祝福语简短
17 毕业祝福语简短英语小学
18 祝福语同事离职英文简短