Bootstrap btn-toolbar class

Set Button Toolbar in Bootstrap using the btn-toolbar class.

You can try to run the following code to implement the btn-toolbar class −


 Live Demo

<!DOCTYPE html>
      <title>Bootstrap Example</title>
      <link href="/bootstrap/css/bootstrap.min.css" rel="stylesheet">
      <script src="/scripts/jquery.min.js"></script>
      <script src="/bootstrap/js/bootstrap.min.js"></script>
      <div class = "btn-toolbar" role = "toolbar">
         <div class = "btn-group">
            <button type = "button" class = "btn btn-default">MCA</button>
            <button type = "button" class = "btn btn-default">BCA</button>
         <div class = "btn-group">
            <button type = "button" class = "btn btn-default">MBA</button>
            <button type = "button" class = "btn btn-default">MS</button>