HTML CSS examples for Bootstrap Class List:btn-group-justified
.btn-group-justified - Creates a group of buttons that spans the entire width of the parent
<!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.7/css/bootstrap.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> </head><!--from ww w.jav a 2 s . c o m--> <body> <div class="container"> <h2>Justified Button Groups</h2> <p>To span the entire width of the screen, use the .btn-group-justified class:</p> <div class="btn-group btn-group-justified"> <a href="#" class="btn btn-primary">OK</a> <a href="#" class="btn btn-primary">Cancel</a> <a href="#" class="btn btn-primary">Apply</a> </div> </div> </body> </html>