- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Bootstrap class input-group-sm
To make small input group, use the input-group-sm.
You can try to run the following code to implement the input-group-sm class in Bootstrap −
Example
<!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-sm"> <span class = "input-group-addon">$</span> <input type = "text" class = "form-control"> </div> </form> </div> </body> </html>
- Related Articles
- Bootstrap class input-group
- Bootstrap pagination-sm class
- Bootstrap .btn-sm class
- Bootstrap class input-group-xs
- Bootstrap input-group-btn class
- Bootstrap class input-group-lg
- Usage of btn-sm Bootstrap class
- Large input group with Bootstrap
- Small input group with Bootstrap
- input-lg Bootstrap class
- Bootstrap btn-group class
- Bootstrap list-group class
- Bootstrap 4 .card-group class
- Bootstrap btn-group-vertical class
- Bootstrap class btn-group-vertical

Advertisements