Blueprint & Drafter JS

31
Blueprint CSS & Drafter JS

description

A presentation on how to get started on Blueprint CSS, and Drafter JS

Transcript of Blueprint & Drafter JS

Page 1: Blueprint & Drafter JS

Blueprint CSS &Drafter JS

Page 2: Blueprint & Drafter JS

BlueprintCSS Framework to cut down CSS development time

http://code.google.com/p/blueprintcss/

Page 3: Blueprint & Drafter JS

Blueprint is a...

• Foundation to build on.

• CSS framework that provides an easy way to make grids, has good typography and form styles

Page 4: Blueprint & Drafter JS

It provides you with...

• Easily Customizable Grid

• Sensible Typography

• CSS Reset

• Powerful scripts for customizing your layout

Page 5: Blueprint & Drafter JS

It is not a set of CSS templates. It is much more.

Page 6: Blueprint & Drafter JS

A Nice Looking Page

Page 7: Blueprint & Drafter JS

Why is it so nice ?

Page 8: Blueprint & Drafter JS

Why is it so nice ?

Page 9: Blueprint & Drafter JS

Typography

• Sets a baseline (line-height) of 18px.

• This means that every element, from line-heights to images has to have a height that is a multiple of 18

Page 10: Blueprint & Drafter JS

Forms

• Makes forms look good!

• Predefined CSS for notifications like error, warning, flash.

• Bundled with a few FamFamFam icons to complete your form

Page 11: Blueprint & Drafter JS

Forms

Page 12: Blueprint & Drafter JS

Notifications

Page 13: Blueprint & Drafter JS

FamFamFam Icons

Page 14: Blueprint & Drafter JS

The Grid950px wide. 24 columns.

spanning 30px. margin of 10px.

Page 15: Blueprint & Drafter JS
Page 16: Blueprint & Drafter JS

CSS Classes

.span-xHas a width of (x*30 + ((x-1)*10))px

Margin right of 10px

Floating left

Decides the width of the element

Page 17: Blueprint & Drafter JS

CSS Classes

.append-xHas padding right of (x*40)px

Adds blank space to the right of the element

Page 18: Blueprint & Drafter JS

CSS Classes

.preprend-xHas padding left of (x*40)px

Adds blank space to the left of the element

Page 19: Blueprint & Drafter JS

CSS Classes

.push-xHas margin left and right of (x*40)px

Floated right with relative positioning

Pushes the entire element towards the right

Page 20: Blueprint & Drafter JS

CSS Classes

.pull-xHas margin left of -(x*40)px

Floated left with relative positioning

Pulls the entire element towards the left

Page 21: Blueprint & Drafter JS

CSS Classes

.containerA DIV inside which everything is put.

Page 22: Blueprint & Drafter JS
Page 23: Blueprint & Drafter JS

<div class="container">

</div>

<div class="span-24">

</div>

<div class="span-16 colborder"> <div class="span-5 append-1 prepend-1 last">

</div></div>

<hr class="space" />

Page 24: Blueprint & Drafter JS

Demo

Page 25: Blueprint & Drafter JS

Drafter A JavaScript tool to build CSS layouts quickly.

Page 26: Blueprint & Drafter JS

What is it ?

• An easy to use JS tool that can be used to create layouts and add basic content and styling to it.

• Can be used both by developers and designers.

• Easy to learn, not too many buttons.

• Generates HTML in the end.

Page 27: Blueprint & Drafter JS

Why use it ?

• Reduces development time.

• Allows you to visualize the design quickly on the web.

• Requires little or no knowledge of HTML/CSS.

Page 28: Blueprint & Drafter JS

Demo

Page 30: Blueprint & Drafter JS

Any questions?

Page 31: Blueprint & Drafter JS

Thank You!