bootstrap学习笔记-CSS-选择

<!doctype html>
<html>
<head>
<meta charset="gbk">
<title>布局学习</title>
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link href="../css/bootstrap.min.css" rel="stylesheet">
<link href="../css/bootstrap-responsive.min.css" rel="stylesheet">
</head>
<body class="container">
<h1 class="page-header">选择列表<small>简单示例</small></h1>
<label for="somewhere">想去的地方</label>
<select id="somewhere" multiple="multiple">
<option value="a">A</option>
<option value="B">B</option>
<option value="C">C</option>
</select>
<label for="somewhere">想去的地方(单选)</label>
<select id="somewhere">
<option value="a">A</option>
<option value="B">B</option>
<option value="C">C</option>
</select>
</body>
</html>

你可能感兴趣的:(bootstrap学习笔记-CSS-选择)