1) Add HTML5 doctype

Before starting the example of Bootstrap, we should know about the some basic rules of Bootstrap. We have to add HTML5 doctype with lang element and CSS properties.

2) Bootstrap 3 is mobile-first

The latest version of Bootstrap is used to create responsive website for mobile devices. We have to use <meta> tag inside the <head> element for better performance like rendering and touch zooming.

3) Containers

Containers are the layout element in Bootstrap. It is required while using default grid system. It wraps the content of the site. There are two classes of the container that are given below:

  • The .container class provides a responsive fixed width container.
  • The .container-fluid class provides a full width container, spanning the entire width of the viewport.


Try Now

Pin It on Pinterest

Share This