Bootstrap class input-group-xs


To make extra small input group, use the input-group-xs.

You can try to run the following code to implement the input-group-xs class in Bootstrap −

Example

Live Demo

<!DOCTYPE html>
<html>
   <head>
      <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>
   </head>
   <body>
      <div style = "padding: 100px 100px 10px; background: blue;">
         <form class = "bs-example bs-example-form" role = "form">
            <div class = "input-group input-group-xs">
               <span class = "input-group-addon">$</span>
               <input type = "text" class = "form-control">
            </div>
         </form>
      </div>
   </body>
</html>

Updated on: 12-Jun-2020

311 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements