From 20676ddd4d3e46c9fb32aadfeddb3a4a68efa6a3 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 8 Jul 2012 01:47:36 -0700 Subject: adding getting started page based on Bootstrap University from awhile back, testing out side nav on docs instead of subnav bar --- docs/getting-started.html | 255 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 255 insertions(+) create mode 100644 docs/getting-started.html (limited to 'docs/getting-started.html') diff --git a/docs/getting-started.html b/docs/getting-started.html new file mode 100644 index 000000000..26a9bc38e --- /dev/null +++ b/docs/getting-started.html @@ -0,0 +1,255 @@ + + + + + Getting · Twitter Bootstrap + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+

Getting started

+

Overview of the project, it's contents, and how to get started with a simple template.

+
+ +
+ +
+ + +
+ +

Before getting started, you need the following:

+
    +
  • An unzipped copy of the latest version of Bootstrap (which includes all CSS, JavaScript, and images).
  • +
  • An editor of your choice for writing code (I recommend Sublime Text 2).
  • +
  • Some working knowledge of HTML and CSS.
  • +
+

When ready, proceed to the next section, File structure.

+
+ + + +
+ +

Once unzipped, the structure of Bootstrap’s files looks like this:

+
    +
  • bootstrap/ +
      +
    • css/ +
        +
      • bootstrap.css
      • +
      • bootstrap.min.css
      • +
      +
    • +
    • js/ +
        +
      • bootstrap.js
      • +
      • bootstrap.min.js
      • +
      +
    • +
    • img/ +
        +
      • glyphicons-halflings.png
      • +
      • glyphicons-halflings-white.png
      • +
      +
    • +
    • README.md
    • +
    +
  • +
+

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.

+
+ + + +
+ +

Bootstrap comes equipped with CSS for all sorts of things, but they can be summarized with a handful of categories visible at the top of the Bootstrap documentation:

+
    +
  • Scaffolding: Global styles for the body to reset type and background, link styles, grid system, and two simple layouts.
  • +
  • Base CSS: Styles for common HTML elements like typography, code, tables, forms, and buttons. Also includes Glyphicons, a great little icon set.
  • +
  • Components: Basic styles for common interface components like tabs and pills, navbar, page headers, and more.
  • +
  • Javascript plugins: Similar to the Components section, these Javascript plugins are interactive components for things like tooltips, popovers, modals, and more.
  • +
+

Together, the Components and Javascript plugins sections provide the following interface elements:

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

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.

+
+ + + +
+ +

Now that we’ve got the basic information on Bootstrap out of the way, we can focus on getting started. To do that, we’ll utilize a basic HTML template that includes everything we’ve mentioned in the File structure.

+

As previously mentioned, we won’t cover the basics of writing HTML and CSS here. Instead, we’ll leapfrog through various points in web development complexity to give you the broadest and most complete overview.

+

Now, here’s a look at a typical HTML file:

+
+  <html>
+    <head>
+      <title>Bootstrap 101 Template</title>
+    </head>
+    <body>
+      <h1>Hello, world!</h1>
+    </body>
+  </html>
+  
+

To make this a Bootstrapped template, just include the appropriate CSS and JS files:

+
+  <html>
+    <head>
+      <title>Bootstrap 101 Template</title>
+      <!-- Bootstrap -->
+      <link href="css/bootstrap.min.css" rel="stylesheet">
+      <script src="js/bootstrap.min.js"></script>
+    </head>
+    <body>
+      <h1>Hello, world!</h1>
+    </body>
+  </html>
+  
+

And you’re set. With those two files added, you can begin to write Bootstrap-friendly HTML, CSS, and JS to build any site or application you like. Head to the Bootstrap docs for information, examples, and even code snippets for the Bootstrap grid system, base HTML styles, components, and even responsive features.

+
+ + + +
+
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3 From 549d61fc289cb9efe5f8959e706e170b080663ba Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Thu, 12 Jul 2012 17:02:55 -0700 Subject: updated footer --- docs/getting-started.html | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'docs/getting-started.html') diff --git a/docs/getting-started.html b/docs/getting-started.html index 26a9bc38e..856964bd9 100644 --- a/docs/getting-started.html +++ b/docs/getting-started.html @@ -211,10 +211,14 @@ + + - - -- cgit v1.2.3 From a12f0e551f7da763a9be23013d1b51c161a0f6f8 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Thu, 12 Jul 2012 18:11:49 -0700 Subject: overhaul docs on sub pages, clean up css and copy --- docs/getting-started.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docs/getting-started.html') diff --git a/docs/getting-started.html b/docs/getting-started.html index 856964bd9..c0e99542e 100644 --- a/docs/getting-started.html +++ b/docs/getting-started.html @@ -66,15 +66,17 @@ -
- +
+

Getting started

Overview of the project, it's contents, and how to get started with a simple template.

+
+
-
-
-

Getting started

-

Overview of the project, it's contents, and how to get started with a simple template.

-
+

Getting started

+

Overview of the project, it's contents, and how to get started with a simple template.

+
-
- -
-
- -

Before getting started, you need the following:

-
+
+
-
- -

Once unzipped, the structure of Bootstrap’s files looks like this:

-
    -
  • bootstrap/ -
      -
    • css/ -
        -
      • bootstrap.css
      • -
      • bootstrap.min.css
      • -
      -
    • -
    • js/ -
        -
      • bootstrap.js
      • -
      • bootstrap.min.js
      • -
      -
    • -
    • img/ -
        -
      • glyphicons-halflings.png
      • -
      • glyphicons-halflings-white.png
      • -
      -
    • -
    • README.md
    • -
    -
  • -
-

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.

-
+ +
+ +

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 our the compiled Bootstrap files.

+
+
+

Download compiled

+

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

+ Download Bootstrap +
+
+

Download source

+

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

+ Download Bootstrap source +
+
+
-
- -

Bootstrap comes equipped with CSS for all sorts of things, but they can be summarized with a handful of categories visible at the top of the Bootstrap documentation:

-
    -
  • Scaffolding: Global styles for the body to reset type and background, link styles, grid system, and two simple layouts.
  • -
  • Base CSS: Styles for common HTML elements like typography, code, tables, forms, and buttons. Also includes Glyphicons, a great little icon set.
  • -
  • Components: Basic styles for common interface components like tabs and pills, navbar, page headers, and more.
  • -
  • Javascript plugins: Similar to the Components section, these Javascript plugins are interactive components for things like tooltips, popovers, modals, and more.
  • -
-

Together, the Components and Javascript plugins sections provide the following interface elements:

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

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.

-
+ +
+ +

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

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

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.

+
-
- -

Now that we’ve got the basic information on Bootstrap out of the way, we can focus on getting started. To do that, we’ll utilize a basic HTML template that includes everything we’ve mentioned in the File structure.

-

As previously mentioned, we won’t cover the basics of writing HTML and CSS here. Instead, we’ll leapfrog through various points in web development complexity to give you the broadest and most complete overview.

-

Now, here’s a look at a typical HTML file:

-
-  <html>
-    <head>
-      <title>Bootstrap 101 Template</title>
-    </head>
-    <body>
-      <h1>Hello, world!</h1>
-    </body>
-  </html>
-  
-

To make this a Bootstrapped template, just include the appropriate CSS and JS files:

-
-  <html>
-    <head>
-      <title>Bootstrap 101 Template</title>
-      <!-- Bootstrap -->
-      <link href="css/bootstrap.min.css" rel="stylesheet">
-      <script src="js/bootstrap.min.js"></script>
-    </head>
-    <body>
-      <h1>Hello, world!</h1>
-    </body>
-  </html>
-  
-

And you’re set. With those two files added, you can begin to write Bootstrap-friendly HTML, CSS, and JS to build any site or application you like. Head to the Bootstrap docs for information, examples, and even code snippets for the Bootstrap grid system, base HTML styles, components, and even responsive features.

-
+ + +
+ +

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.

+ +

Scaffolding

+

Global styles for the body to reset type and background, link styles, grid system, and two simple layouts.

+ +

Base CSS

+

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

+ +

Components

+

Basic styles for common interface components like tabs and pills, navbar, alerts, page headers, and more.

+ +

Javascript plugins

+

Similar to Components, these Javascript plugins are interactive components for things like tooltips, popovers, modals, and more.

+ +
+ +

List of components

+

Together, the Components and Javascript plugins sections provide the following interface elements:

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

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.

+
+ +
+ +

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

+

Now, here's a look at a typical HTML file:

+
+    <html>
+      <head>
+        <title>Bootstrap 101 Template</title>
+      </head>
+      <body>
+        <h1>Hello, world!</h1>
+      </body>
+    </html>
+    
+

To make this a Bootstrapped template, just include the appropriate CSS and JS files:

+
+    <html>
+      <head>
+        <title>Bootstrap 101 Template</title>
+        <!-- Bootstrap -->
+        <link href="css/bootstrap.min.css" rel="stylesheet">
+        <script src="js/bootstrap.min.js"></script>
+      </head>
+      <body>
+        <h1>Hello, world!</h1>
+      </body>
+    </html>
+    
+

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

+ +
+ +

What next?

+

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

+ Visit the Bootstrap docs + Customize Bootstrap +
+ + + +
+
+