Small input field with Bootstrap

Use the .input-sm class to set small input field in Bootstrap.

You can try to run the following code to implement .input-sm class:


Live Demo

<!DOCTYPE html>
<html lang="en">
      <title>Bootstrap Example</title>
      <meta charset = "utf-8">
      <meta name = "viewport" content = "width=device-width, initial-scale = 1">
      <link rel = "stylesheet" href = "">
      <script src = ""></script>
      <script src = ""></script>
      <div class = "container">
         <h2>Candidate Profile</h2>
            <div class="form-group">
               <label for="sel2">What is your job profile?</label>
               <select class="form-control input-lg" id="sel2">
                  <option>Web Developer</option>
                  <option>Support Engineer</option>
            <div class="form-group">
               <label for="sel3">Educational Qualification</label>
               <select class="form-control input-sm" id="sel3">