Bootstrap Input Classes

 

.input-lg,.input-sm classes are to set height of controls..col-lg,.col-sm classes are used to set width of controls.

 
 
 
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Bootstrap Input Example</title> <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.2/jquery.min.js"></script> <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script> </head> <body> <div class="container"> <form role="form"> <div class="form-group"> <input class="form-control" type="text" placeholder="Input-default"> </div> <div class="form-group"> <input class="form-control input-lg" type="text" placeholder="Input-large"> </div> <div class="form-group"> <input class="form-control input-sm" type="text" placeholder="Input-small"> </div> <div class="form-group"> <label>select list</label> <select class="form-control"> <option>HTML</option> <option>CSS</option> <option>JAVASCRIPT</option> <option>JQUERY</option> </select> </div> <div class="form-group"> <label>input-lg</label> <select class="form-control input-lg"> <option>HTML</option> <option>JAVASCRIPT</option> <option>CSS</option> </select> </div> <div class="form-group"> <label for="sel3">input-sm</label> <select class="form-control input-sm"> <option>HTML</option> <option>JQUERY</option> <option>JAVASCRIPT</option> </select> </div> </form> </div> </body> </html>
Output