bootstrap25-控件状态(bootstrap,控件,状态,开发技术)

时间:2024-04-29 03:06:19 作者 : 石家庄SEO 分类 : 开发技术
  • TAG :

<!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">

<label class="col-sm-2 control-label">聚焦</label>

<div class="col-sm-10">

<input class="form-control" id="focusedInput" type="text" value="该输入框获得焦点...">

</div>

</div>


<div class="form-group">

<label for="inputPassword" class="col-sm-2 control-label">禁用</label>

<div class="col-sm-10">

<input class="form-control" id="disabledInput" type="text" placeholder="该输入框禁止输入..." disabled>

</div>

</div>


<fieldset disabled>

<div class="form-group">

<label for="disabledTextInput" class="col-sm-2 control-label">禁用输入(Fieldset disabled)</label>

<div class="col-sm-10">

<input type="text" id="disabledTextInput" class="form-control" placeholder="禁止输入">

</div>

</div>


<div class="form-group">

<label for="disabledSelect" class="col-sm-2 control-label">禁用选择菜单(Fieldset disabled)</label>

<div class="col-sm-10">

<select id="disabledSelect" class="form-control">

<option>禁止选择</option>

</select>

</div>

</div>

</fieldset>


<div class="form-group has-success">

<label class="col-sm-2 control-label" for="inputSuccess">输入成功</label>

<div class="col-sm-10">

<input type="text" class="form-control" id="inputSuccess">

</div>

</div>


<div class="form-group has-warning">

<label class="col-sm-2 control-label" for="inputWarning">输入警告</label>

<div class="col-sm-10">

<input type="text" class="form-control" id="inputWarning">

</div>

</div>


<div class="form-group has-error">

<label class="col-sm-2 control-label" for="inputError">输入错误</label>

<div class="col-sm-10">

<input type="text" class="form-control" id="inputError">

</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>

bootstrap25-控件状态

 </div> <div class="zixun-tj-product adv-bottom"></div> </div> </div> <div class="prve-next-news">
本文:bootstrap25-控件状态的详细内容,希望对您有所帮助,信息来源于网络。
上一篇:vuejs20-过滤器uppercase下一篇:

17 人围观 / 0 条评论 ↓快速评论↓

(必须)

(必须,保密)

阿狸1 阿狸2 阿狸3 阿狸4 阿狸5 阿狸6 阿狸7 阿狸8 阿狸9 阿狸10 阿狸11 阿狸12 阿狸13 阿狸14 阿狸15 阿狸16 阿狸17 阿狸18