案例:Bootstrap案例     状态:可编辑再运行    进入横版
AخA
 
1
<!DOCTYPE html>
2
<html>
3
<head>
4
    <meta charset="utf-8"> 
5
    <title>W3xue教程(w3xue.com)</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
<div class="container">
13
    <h2>按钮</h2>
14
    <p> .active 类表示按钮被点击:</p>            
15
    <button type="button" class="btn btn-default">默认按钮</button>      
16
    <button type="button" class="btn btn-default active">点击激活的默认按钮</button>
17
    <br><br>
18
    <button type="button" class="btn btn-info">信息按钮</button>      
19
    <button type="button" class="btn btn-info active">点击激活的信息按钮</button>
20
</div>
21
   
22
</body>
23
</html>

 运行结果 
 北美留学生论坛