Articles → BOOTSTRAP → Button sizes classes in Bootstrap

Button sizes classes in Bootstrap






Example




<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
   <head>
      <meta charset="utf-8" />
      <title></title>
      <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
   </head>
   <body>
      <button type="button" class="btn btn-primary btn-lg">Primary</button>
      <button type="button" class="btn btn-primary btn-sm">Primary Small</button>
      <button type="button" class="btn btn-primary btn-xs">Primary Xtra Small</button>
   </body>
</html>



Output


Picture showing the output of Button sizes classes in Bootstrap

Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Thursday, September 23, 2021

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250