Bootstrap Button States

 

.Active and .disabled classes are used to active and disabled states of buttons.

 
 
 
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Bootstrap Button Example</title> <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"> <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script> </head> <body> <h2>Button States</h2> <button type="button" class="btn btn-primary active">Active</button> <button type="button" class="btn btn-primary disabled">Disabled</button> </body> </html>
Output