btn-sm Bootstrap类的用法
使用btn-smBootstrap类创建一个小按钮。您可以尝试运行以下代码来实现btn-smBootstrap类:
示例
<!DOCTYPE html>
<html>
<head>
<title>Bootstrap Example</title>
<link href = "/bootstrap/css/bootstrap.min.css" rel = "stylesheet">
<script src = "/scripts/jquery.min.js"></script>
<script src = "/bootstrap/js/bootstrap.min.js"></script>
</head>
<body>
<div class = "btn-group">
<button type = "button" class = "btn btn-default dropdown-toggle btn-sm" data-toggle = "dropdown">
Subject
<span class = "caret"></span>
</button>
<ul class = "dropdown-menu" role = "menu">
<li><a href = "#">Programming</a></li>
<li><a href = "#">Web Dev</a></li>
<li><a href = "#">Database</a></li>
<li><a href = "#">Networking</a></li>
</ul>
</div>
</body>
</html>热门推荐
10 旅游景区新春祝福语简短
11 俄语祝福语贺卡文案简短
12 婚庆花篮祝福语简短大气
13 恋爱很久的祝福语简短
14 网名简短祝福语搞笑男
15 给爸爸发财祝福语简短
16 夸赞老师祝福语搞笑简短
17 新郎表白成语祝福语简短
18 中考祝福语简短古风短句