案例:Bootstrap案例     状态:可编辑再运行    进入横版
x
 
1
<!DOCTYPE html>
2
<html>
3
<head>
4
    <meta charset="utf-8"> 
5
    <title>Bootstrap 实例 - 按钮激活状态</title>
6
    <link rel="stylesheet" href="/css/bootstrap/bootstrap3.3.7.min.css">  
7
    <script src="/js/bootstrap/jquery.min.js"></script>
8
    <script src="/js/bootstrap/bootstrap3.3.7.min.js"></script>
9
</head>
10
<body>
11
12
<p>
13
    <button type="button" class="btn btn-default btn-lg ">默认按钮</button>
14
    <button type="button" class="btn btn-default btn-lg active">激活按钮</button>
15
</p>
16
<p>
17
    <button type="button" class="btn btn-primary btn-lg ">原始按钮</button>
18
    <button type="button" class="btn btn-primary btn-lg active">激活的原始按钮</button>
19
</p>
20
21
</body>
22
</html>

 运行结果 
 北美留学生论坛