Bootstrap is a free and open-source CSS framework.
Bootstrap is a free and open-source CSS framework directed at responsive, mobile-first front-end web development. It contains HTML, CSS and (optionally) JavaScript-based design templates for typography, forms, buttons, navigation, and other interface components.
Responsive web design is about creating web sites which automatically adjust themselves to look good on all devices, from small phones to large desktops.
Advantages of Bootstrap:
Version | Year |
---|---|
Bootstrap 1 | 2011 |
Bootstrap 2 | 2012 |
Bootstrap 3 | 2013 |
Bootstrap 4 | 2014 |
Bootstrap 5 | 2021 |
Containers are used to pad the content inside of them, and there are two container classes available:
Example of container class
<div class="container">
<h1>My First Bootstrap Page</h1>
<p>Welcome to soopro pathshala.</p>
</div>
Example of container-fluid class
<div class="container-fluid">
<h1>My First Bootstrap Page</h1>
<p>Welcome to soopro pathshala.</p>
</div>