{{_i}}Getting started{{/i}}

{{_i}}Overview of the project, its contents, and how to get started with a simple template.{{/i}}

{{_i}}Before downloading, be sure to have a code editor (we recommend Sublime Text 2) and some working knowledge of HTML and CSS. We won't walk through the source files here, but they are available for download. We'll focus on getting started with the compiled Bootstrap files.{{/i}}

{{_i}}Download compiled{{/i}}

{{_i}}Fastest way to get started: get the compiled and minified versions of our CSS, JS, and images. No docs or original source files.{{/i}}

{{_i}}Download Bootstrap{{/i}}

Download source

Get the original files for all CSS and JavaScript, along with a local copy of the docs by downloading the latest version directly from GitHub.

{{_i}}Download Bootstrap source{{/i}}

{{_i}}Within the download you'll find the following file structure and contents, logically grouping common assets and providing both compiled and minified variations.{{/i}}

{{_i}}Once downloaded, unzip the compressed folder to see the structure of (the compiled) Bootstrap. You'll see something like this:{{/i}}

  bootstrap/
  ├── css/
  │   ├── bootstrap.css
  │   ├── bootstrap.min.css
  ├── js/
  │   ├── bootstrap.js
  │   ├── bootstrap.min.js
  └── img/
      ├── glyphicons-halflings.png
      └── glyphicons-halflings-white.png

{{_i}}This is the most basic form of Bootstrap: compiled files for quick drop-in usage in nearly any web project. We provide compiled CSS and JS (bootstrap.*), as well as compiled and minified CSS and JS (bootstrap.min.*). The image files are compressed using ImageOptim, a Mac app for compressing PNGs.{{/i}}

{{_i}}Please note that all JavaScript plugins require jQuery to be included.{{/i}}

{{_i}}Bootstrap comes equipped with HTML, CSS, and JS for all sorts of things, but they can be summarized with a handful of categories visible at the top of the Bootstrap documentation.{{/i}}

{{_i}}Docs sections{{/i}}

{{_i}}Scaffolding{{/i}}

{{_i}}Global styles for the body to reset type and background, link styles, grid system, and two simple layouts.{{/i}}

{{_i}}Base CSS{{/i}}

{{_i}}Styles for common HTML elements like typography, code, tables, forms, and buttons. Also includes Glyphicons, a great little icon set.{{/i}}

{{_i}}Components{{/i}}

{{_i}}Basic styles for common interface components like tabs and pills, navbar, alerts, page headers, and more.{{/i}}

{{_i}}JavaScript plugins{{/i}}

{{_i}}Similar to Components, these JavaScript plugins are interactive components for things like tooltips, popovers, modals, and more.{{/i}}

{{_i}}List of components{{/i}}

{{_i}}Together, the Components and JavaScript plugins sections provide the following interface elements:{{/i}}

  • {{_i}}Button groups{{/i}}
  • {{_i}}Button dropdowns{{/i}}
  • {{_i}}Navigational tabs, pills, and lists{{/i}}
  • {{_i}}Navbar{{/i}}
  • {{_i}}Labels{{/i}}
  • {{_i}}Badges{{/i}}
  • {{_i}}Page headers and hero unit{{/i}}
  • {{_i}}Thumbnails{{/i}}
  • {{_i}}Alerts{{/i}}
  • {{_i}}Progress bars{{/i}}
  • {{_i}}Modals{{/i}}
  • {{_i}}Dropdowns{{/i}}
  • {{_i}}Tooltips{{/i}}
  • {{_i}}Popovers{{/i}}
  • {{_i}}Accordion{{/i}}
  • {{_i}}Carousel{{/i}}
  • {{_i}}Typeahead{{/i}}

{{_i}}In future guides, we may walk through these components individually in more detail. Until then, look for each of these in the documentation for information on how to utilize and customize them.{{/i}}

{{_i}}With a brief intro into the contents out of the way, we can focus on putting Bootstrap to use. To do that, we'll utilize a basic HTML template that includes everything we mentioned in the File structure.{{/i}}

{{_i}}Now, here's a look at a typical HTML file:{{/i}}

<!DOCTYPE html>
<html>
  <head>
    <title>Bootstrap 101 Template</title>
  </head>
  <body>
    <h1>Hello, world!</h1>
    <script src="http://code.jquery.com/jquery-latest.js"></script>
  </body>
</html>

{{_i}}To make this a Bootstrapped template, just include the appropriate CSS and JS files:{{/i}}

<!DOCTYPE html>
<html>
  <head>
    <title>Bootstrap 101 Template</title>
    <!-- Bootstrap -->
    <link href="css/bootstrap.min.css" rel="stylesheet" media="screen">
  </head>
  <body>
    <h1>Hello, world!</h1>
    <script src="http://code.jquery.com/jquery-latest.js"></script>
    <script src="js/bootstrap.min.js"></script>
  </body>
</html>

{{_i}}And you're set! With those two files added, you can begin to develop any site or application with Bootstrap.{{/i}}

{{_i}}Move beyond the base template with a few example layouts. We encourage folks to iterate on these examples and not simply use them as an end result.{{/i}}

{{_i}}Basic marketing site{{/i}}

{{_i}}Featuring a hero unit for a primary message and three supporting elements.{{/i}}

{{_i}}Fluid layout{{/i}}

{{_i}}Uses our new responsive, fluid grid system to create a seamless liquid layout.{{/i}}

{{_i}}Starter template{{/i}}

{{_i}}A barebones HTML document with all the Bootstrap CSS and JavaScript included.{{/i}}

{{_i}}Narrow marketing{{/i}}

{{_i}}Slim, lightweight marketing template for small projects or teams.{{/i}}

{{_i}}Sign in{{/i}}

{{_i}}Barebones sign in form with custom, larger form controls and a flexible layout.{{/i}}

{{_i}}Carousel jumbotron{{/i}}

{{_i}}A more interactive riff on the basic marketing site featuring a prominent carousel.{{/i}}

{{_i}}Head to the docs for information, examples, and code snippets, or take the next leap and customize Bootstrap for any upcoming project.{{/i}}

{{_i}}Visit the Bootstrap docs{{/i}} {{_i}}Customize Bootstrap{{/i}}
{{! /span9 }}
{{! row}}
{{! /.container }}