What is twitter bootstrap
Twitter Bootstrap is a toolkit to develop web apps and sites fast. It includes basic CSS and HTML for creating Grids, Layouts, Typography, Tables, Forms, Navigation, Alerts, Popovers etc.
In this and consequent pages, w3resource covers Twitter Bootstrap tool in detail, which will equip you to build web apps and sites using the tool.
Twitter Bootstrap is created with modern browsers in mind. So, you will find it working perfectly with all the modern versions of Chrome, Firefox, Safari, Opera and Internet Explorer.
Obtain Twitter Bootstrap
Download Twitter Bootstrap from https://github.com/twitter/bootstrap.
Unzip the downloaded file and you will get all the necessary files for working with the toolkit.
Getting started with Twitter Bootstrap
You can include twitter Bootstrap in your HTML page in two ways.
You can simply include
in the head section of your HTML file.
Since Twitter Bootstrap supports LESS (CSS preprocessor for faster and easier web development), you can include the less css file and less JS file in your HTML page as
You may also use NetDNA's Bootstrap CDN @ http://www.bootstrapcdn.com/
What you will learn
In w3resource "Twitter Bootstrap Tutorial" you will learn the following.
You will see how to create Grid System using Twitter Bootstrap. It supports 940px wide 12 column Grid as default and many variations of it.
You will see how to create 940px wide fixed Layout and how to create Fluid layouts. This will help you to build HTML templates easily.
You will see how to build Headings, paragraphs, lists, and other inline type elements.
You will see how to build tables for containing tabular data.
You will see how to build stylish forms, including textbox, radio button, textarea, various kind of buttons in your HTML page.
You will see how to build stylish modern navigation. And also Pagination.
Alerts & Error
As a web designer / developer you often need to create alerts for errors, warnings etc. In this tutorial you will learn how to build those using Twitter Bootstrap.
You will learn to use the toolkit to build modal windows, tooltips and popovers.
Creating modal windows.
This is a ongoing series of tutorials and we keep adding new tutorials in this section. Subscribe to our RSS feed to grab what's new.