Tuesday, October 26, 2021

Introduction to Bootstrap

Bootstrap is a free and open-source collection of tools for creating websites and web applications. It is the most popular HTML, CSS, and JavaScript framework for developing responsive, mobile-first websites. It solves many problems which we had once, one of which is the cross-browser compatibility issue. Nowadays, the websites are perfect for all the browsers (IE, Firefox, and Chrome) and for all sizes of screens (Desktop, Tablets, Phablets, and Phones).

Reason to choose Bootstrap:

·       Faster and Easier Web-Development.

·       It creates Platform-independent web-pages.

·       It creates Responsive Web-pages.

·       It’s designed to be responsive to mobile devices too.

·       It’s Free! Available on www.getbootstrap.com

·       You can quickly create multi-column layout with pre-defined classes.

·       You can quickly create different types of form layouts.

·       You can quickly create different variation of navigation bar.

·       You can easily create components like accordions, modals, etc. without writing any JS code.

·       You can easily create dynamic tabs to manage large amount of content.

·       You can easily create tooltips and popovers to show hint text.

·       You can easily create carousel or image slider to showcase your content.

·       You can quickly create different types of alert boxes. 


History of Bootstrap

Bootstrap was developed by Mark Otto and Jacob Thornton at Twitter. It was released as an open source product in August 2011 on GitHub.

In June 2014 Bootstrap was the No.1 project on GitHub.

Advantages of Using Bootstrap

If you have had some experience with any front-end framework, you might be wondering what makes Bootstrap so special. Here are some advantages why one should opt for Bootstrap framework:

  • Save lots of time — You can save lots of time and efforts using the Bootstrap predefined design templates and classes and concentrate on other development work.
  • Responsive features — Using Bootstrap you can easily create responsive websites that appear more appropriately on different devices and screen resolutions without any change in markup.
  • Consistent design — All Bootstrap components share the same design templates and styles through a central library, so the design and layout of your web pages will be consistent.
  • Easy to use — Bootstrap is very easy to use. Anybody with the basic working knowledge of HTML, CSS and JavaScript can start development with Bootstrap.
  • Compatible with browsers — Bootstrap is created with modern web browsers in mind and it is compatible with all modern browsers such as Chrome, Firefox, Safari, Internet Explorer, etc.
  • Open Source — And the best part is, it is completely free to download and use.

Websites that were built with a lot of CSS and JavaScript can now be built with a few lines of code using Bootstrap. Bootstrap comprises of mainly three components:

·       CSS

·       Fonts

·       Javascript

How to use Bootstrap 4 in a Webpage

There are two ways to include Bootstrap in the website.

  • Include Bootstrap from CDN link.
  • Download Bootstrap from getbootstrap.com and use it.