1Add data-toggle="button" to toggle a button’s active state. If you’re
2pre-toggling a button, you must manually add the .active class and
3aria-pressed="true" to the <button>.
4
5<button type="button" class="btn btn-primary" data-toggle="button" aria-pressed="false">
6 Single toggle
7</button>
1<html>
2 <head>
3 <link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
4<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
5<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
6 </head>
7 <body>
8 <div class="container">
9 <div class="row">
10 <h2 class="text-center page-header">Hover Effect On Button</h2>
11 <button class="btn-change">Button</button>
12 <button class="btn-change1">Button</button>
13 <button class="btn-change2">Button</button>
14 <button class="btn-change3">Button</button>
15 <button class="btn-change4">Button</button>
16 <button class="btn-change5">Button</button>
17 <button class="btn-change6">Button</button>
18 <button class="btn-change7">Button</button>
19 <button class="btn-change8">Button</button>
20 </div>
21</div>
22 </body>
23</html>