您好,登錄后才能下訂單哦!
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>表單控件大小</title>
<link rel="stylesheet" href="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css">
</head>
<body>
<div class="container">
<form action="" role="form" class="form-horizontal">
<div class="form-group">
<input class="form-control input-lg" type="text" placeholder=".input-lg">
</div>
<div class="form-group">
<input class="form-control" type="text" placeholder="默認輸入">
</div>
<div class="form-group">
<input class="form-control input-sm" type="text" placeholder=".input-sm">
</div>
<div class="form-group"></div>
<div class="form-group">
<select class="form-control input-lg">
<option value="">.input-lg1</option>
<option value="">.input-lg2</option>
<option value="">.input-lg3</option>
</select>
</div>
<div class="form-group">
<select class="form-control">
<option value="">默認選擇1</option>
<option value="">默認選擇2</option>
<option value="">默認選擇3</option>
</select>
</div>
<div class="form-group">
<select class="form-control input-sm">
<option value="">.input-sm1</option>
<option value="">.input-sm2</option>
<option value="">.input-sm3</option>
</select>
</div>
<div class="row">
<div class="col-lg-2">
<input type="text" class="form-control" placeholder=".col-lg-2">
</div>
<div class="col-lg-3">
<input type="text" class="form-control" placeholder=".col-lg-3">
</div>
<div class="col-lg-4">
<input type="text" class="form-control" placeholder=".col-lg-4">
</div>
<div class="col-lg-5">
<input type="text" class="form-control" placeholder=".col-lg-5">
</div>
<div class="col-lg-6">
<input type="text" class="form-control" placeholder=".col-lg-6">
</div>
<div class="col-lg-7">
<input type="text" class="form-control" placeholder=".col-lg-7">
</div>
<div class="col-lg-8">
<input type="text" class="form-control" placeholder=".col-lg-8">
</div>
<div class="col-lg-9">
<input type="text" class="form-control" placeholder=".col-lg-9">
</div>
<div class="col-lg-10">
<input type="text" class="form-control" placeholder=".col-lg-10">
</div>
</div>
</form>
</div>
<script src="http://cdn.static.runoob.com/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</body>
</html>
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進行舉報,并提供相關(guān)證據(jù),一經(jīng)查實,將立刻刪除涉嫌侵權(quán)內(nèi)容。