<!DOCTYPE html>
<html lang="en">
<head>
<title>Bootstrap Example</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.2/dist/css/bootstrap.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.2/dist/js/bootstrap.bundle.min.js"></script>
</head>
<body>
<div class="container mt-3">
<h2>选择菜单的大小</h2>
<p>请使用 .form-select-lg 或 .form-select-sm 类来改变选择菜单的大小:</p>
<form>
<select class="form-select form-select-lg">
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
</select>
<select class="form-select mt-3">
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
</select>
<select class="form-select form-select-sm mt-3">
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
</select>
</form>
</div>
</body>
</html>