Overview of the project, it's contents, and how to get started with a simple template.
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 Plusstrap files.
Fastest way to get started: get the compiled and minified versions of our CSS, JS, and images. No docs or original source files.
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.
Once downloaded, unzip the compressed folder to see the structure of (the compiled) Plusstrap. You'll see something like this:
plusstrap/ ├── css/ │ ├── plusstrap.css │ ├── plusstrap.min.css ├── js/ │ ├── plusstrap.js │ ├── plusstrap.min.js ├── img/ │ ├── glyphicons-halflings.png │ ├── glyphicons-halflings-white.png └── README.md
This is the most basic form of Plusstrap: compiled files for quick drop-in usage in nearly any web project. We provide compiled CSS and JS (plusstrap.*
), as well as compiled and minified CSS and JS (plusstrap.min.*
). The image files are compressed using ImageOptim, a Mac app for compressing PNGs.
Plusstrap 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 Plusstrap documentation.
Global styles for the body to reset type and background, link styles, grid system, and two simple layouts.
Styles for common HTML elements like typography, code, tables, forms, and buttons. Also includes Glyphicons, a great little icon set.
Basic styles for common interface components like tabs and pills, navbar, alerts, page headers, and more.
Similar to Components, 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:
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 Plusstrap 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>Plusstrap 101 Template</title> </head> <body> <h1>Hello, world!</h1> </body> </html>
To make this a Plusstrapped template, just include the appropriate CSS and JS files:
<html> <head> <title>Plusstrap 101 Template</title> <!-- Plusstrap --> <link href="css/plusstrap.min.css" rel="stylesheet"> </head> <body> <h1>Hello, world!</h1> <script src="js/plusstrap.min.js"></script> </body> </html>
And you're set! With those two files added, you can begin to develop any site or application with Plusstrap.
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.
Head to the docs for information, examples, and code snippets, or take the next leap and customize Plusstrap for any upcoming project.
Visit the Plusstrap docs Customize Plusstrap