BOOTSTRAP Tutorial



Introduction to bootstrap


🎯 Introduction to Bootstrap

Bootstrap is the world’s most popular **open-source CSS framework** for building responsive, mobile-first websites quickly and efficiently. It includes ready-to-use HTML, CSS, and JavaScript components for layout, typography, buttons, navigation, and more.

πŸ”Ž Fun Fact: Bootstrap was originally developed by Twitter engineers and is now maintained by a global open-source community.

βš™οΈ Getting Started with Bootstrap

You can start using Bootstrap in two main ways:

  1. Via CDN (No installation required):
 <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet"> 
  1. Via NPM (for projects with build tools):
 npm install bootstrap 

πŸ“ Basic Grid System

Bootstrap uses a 12-column flexible grid system. You can easily create responsive layouts like this:

 <div class="container"> <div class="row"> <div class="col-md-6">Column 1</div> <div class="col-md-6">Column 2</div> </div> </div> 
col-md-6
col-md-6

🧱 Reusable UI Components

Bootstrap includes dozens of reusable UI elements. Here are some popular ones:

  • Buttons: .btn .btn-primary, .btn-danger, etc.
  • Alerts: Display messages with .alert classes.
  • Navbar: Create fully responsive navigation menus.
  • Cards: Flexible content containers with padding and shadows.

πŸ”˜ Example: Button

 <button class="btn btn-success">Click Me</button> 

πŸ“± Responsive Design

Bootstrap ensures that your layout and UI adjust automatically across mobile, tablet, and desktop devices using breakpoints like:

  • col-sm-* for small devices
  • col-md-* for tablets
  • col-lg-* for desktops

πŸ“Œ Tip:

Combine utility classes like .text-center, .mt-4, .shadow, and .rounded to polish your design quickly.

πŸ”š Conclusion

Bootstrap makes web development faster and more efficient. With its responsive grid, prebuilt UI elements, and utility classes, you can build professional websites even without writing much custom CSS.

βœ… Next Step: Learn how to use Bootstrap Cards and Navbar to create structured layouts and headers.


🌟 Enjoyed Learning with Us?

Help others discover Technorank Learning by sharing your honest experience.
Your support inspires us to keep building!

Leave a Google Review