实例 Bootstrap 小按钮样式

x
 
<!DOCTYPE html>
<html>
<head>
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
</head>
<body>
<div class="container">
  <h2>Button</h2>
  <p>The .btn-sm class makes small buttons:</p>            
  <button type="button" class="btn btn-default btn-sm">Small Default Button</button>
  <button type="button" class="btn btn-info btn-sm">Small Info Button</button>      
</div>
</body>
</html>
                    

输出结果