Create a large button with Bootstrap

To create a large button, use the .btn-lg class in Bootstrap.

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


Live Demo

<!DOCTYPE html>
      <title>Bootstrap Example</title>
      <link rel = "stylesheet" href = "">
      <script src = ""></script>
      <script src = ""></script>
      <p>The following are FMCG companies:</p>
      <div class = "btn-default">
         <button type = "button" class="btn btn-primary">ITC Limited</button>
         <button type = "button" class="btn btn-sm">Nestle</button>
         <button type = "button" class="btn btn-lg">Britannia Industries Limited</button>

Updated on: 12-Jun-2020

1K+ Views

Kickstart Your Career

Get certified by completing the course

Get Started