Bootstrap 3 - SPLessons

Bootstrap Tutorials

Chapter 1

SPLessons 5 Steps, 3 Clicks
5 Steps - 3 Clicks

Bootstrap Tutorials

Bootstrap Tutorials

shape Description

“Bootstrap Tutorials” chapter gives the users the basic idea about the evolution of Bootstrap and a basic example. Bootstrap is the popular HTML, CSS, and JS framework primarily used for developing responsive, and mobile first projects on the web. Bootstrap makes front-end web development faster and easier. It is made for folks of all skill levels, devices of all shapes, and projects of all sizes. It was developed by the Twitter team and code is licensed under MIT. Users can download Bootstrap for free and can use in any project.

The purpose of Bootstrap is to give great foundation to a responsive website. For example, let there be a website developed for both desktop and mobiles. As the mobile screen size is small, the website developed may not fit into it. So, one should zoom-in, zoom-out and scroll to view the website, which is not a user-friendly approach.

Using Bootstrap is just like a puzzle, all the elements have to be placed in such a way that it suits anywhere, no matter whatever the element is chosen. All the elements are a combination of HTML, CSS and JavaScript.


shape Description

Bootstrap was originally developed by Mark Otto and Jacob Thornton at Twitter in 2010. Hence, it was known as Twitter Blue-print. Bootstrap was released in 2011.

From then, 20 versions were released in which v2 and v3 are the most important ones. BootStrap 2 has come up with a functionality of optional stylesheet in the total framework. Later, Bootstrap 3 was updated with library to make a website responsive.

shape Example

<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!– The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags –>

<title>SPLessons – Bootstrp From</title>
<!– Bootstrap –>
<link href="" rel="stylesheet">
<link href="" rel="stylesheet">

<!– jQuery (necessary for Bootstrap’s JavaScript plugins) –>
<script src=""></script>
<!– Include all compiled plugins (below), or include individual files as needed –>
<script src=""></script>

padding: 40px 15px;
text-align: center;
.navbar-brand, .navbar-nav>li>a{
color: white;
.navbar {
background-color: #00A9EC;
border-color: #00A9EC;
<nav class="navbar navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<a class="navbar-brand" href="">SPLessons</a>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li class="active"><a href="">Home</a></li>
<li><a href="#about">About</a></li>
<li><a href="#contact">Contact</a></li>
</div><!–/.nav-collapse –>
<div class="container">
<div class="starter-template">
<h1>Welcome to Bootstrap world</h1>
<p class="lead">Use this document as a way to quickly start any new project.<br> All you get is this text and a mostly barebones HTML document.</p>
</div><!– /.container –>



shape Key Points

  • Bootstrap adds responsive feature to a website.
  • Bootstrap is HTML, CSS and JS framework.