您好,登录后才能下订单哦!
<!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>
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。