HTML CSS examples for Bootstrap Class List:btn-group-xs
.btn-group-xs - Extra small button group
<!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.6/umd/popper.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/js/bootstrap.min.js"></script> </head><!-- w ww .j a v a2 s . c o m--> <body> <div class="container"> <h2>Button Groups Sizes</h2> <p>Add class .btn-group-* to size all buttons in a button group.</p> <h3>Large Buttons:</h3> <div class="btn-group btn-group-lg"> <button type="button" class="btn btn-primary">A</button> <button type="button" class="btn btn-primary">B</button> <button type="button" class="btn btn-primary">C</button> </div> <h3>Default Buttons:</h3> <div class="btn-group"> <button type="button" class="btn btn-primary">A</button> <button type="button" class="btn btn-primary">B</button> <button type="button" class="btn btn-primary">C</button> </div> <h3>Small Buttons:</h3> <div class="btn-group btn-group-sm"> <button type="button" class="btn btn-primary">A</button> <button type="button" class="btn btn-primary">B</button> <button type="button" class="btn btn-primary">C</button> </div> </div> </body> </html>