- 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 .btn-xs class
To create extra small buttons, use the .btn-xs class.
You can try to run the following code to implement btn-xs class in Bootstrap −
Example
<!DOCTYPE html> <html> <head> <title>Bootstrap Example</title> <meta name = "viewport" content = "width = device-width, initial-scale = 1"> <link rel = "stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css"> <script src = "https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> <script src = "https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script> </head> <body> <p>The following are extra small buttons:</p> <button type = "button" class = "btn btn-primary btn-xs"> Extra small Primary button </button> <button type = "button" class = "btn btn-default btn-xs"> Extra small button </button> </body> </html>
- Related Articles
- Usage of btn-xs Bootstrap class
- Bootstrap .btn class
- Bootstrap class input-group-xs
- Bootstrap btn-toolbar class
- Bootstrap .btn-warning class
- Bootstrap .btn-lg class
- Bootstrap .btn-link class
- Bootstrap .btn-block class
- Bootstrap btn-group class
- Bootstrap .btn-success class
- Bootstrap .btn-primary class
- Bootstrap .btn-info class
- Bootstrap .btn-danger class
- Bootstrap .btn-sm class
- Bootstrap btn-group-vertical class

Advertisements