SlideShare a Scribd company logo
1 of 1
Download to read offline
html
SPAN CLASSES
Use these classes to set the                                                                                                                             reset.css
width of a column
                                                                                                                                                         grid.css
span-1           span-13
span-2           span-14                                                                                                                                 typography.css

                                                                                                                         v.0.7.1
span-3           span-15
                                                                                                                                                         forms.css
                                   Blueprint CSS version 0.7.1 (http://code.google.com/p/blueprintcss/)
span-4           span-16
                                   Copyright © 2007-2008 Olav Bjorkoy (http://bjorkoy.com)
                                                                                                                                                         ie.css
                                   Cheat sheet v.1.1 by Gareth J M Saunders, based on Help Sheet v.0.3 by Alejandro Vasquez
span-5           span-17
span-6           span-18
                                   STYLESHEET LINK                                                                                              RESET
span-7           span-19
                                   Download the latest version from http://code.google.com/p/blueprintcss/ and add these lines into the         Blueprint CSS resets all
                                   <head> of your page. Check that your href path is correct.                                                   browsers’ default tags to :
span-8           span-20
                                                                                                                                                - margin, padding, border: 0
span-9           span-21                       <link rel=quot;stylesheetquot; href=quot;blueprint/screen.cssquot; type=quot;text/cssquot;                               - font-size: 100%
                                                  media=quot;screen, projectionquot;>                                                                   - font-weight: normal
span-10          span-22                       <link rel=quot;stylesheetquot; href=quot;blueprint/print.cssquot; type=quot;text/cssquot;                                - other font values: inherit
                                                  media=quot;printquot;>                                                                                - image borders: 0
span-11          span-23
                                               <!--[if IE]>
                                               <link rel=quot;stylesheetquot; href=quot;blueprint/ie.cssquot; type=quot;text/cssquot;
span-12          span-24                                                                                                                        Tables still need
                                                  media=quot;screen, projectionquot;>                                                                   “cellspacing=“0” in the mark-
                                               <![endif]-->                                                                                     up though.
APPEND CLASSES
                                   USAGE                                                  TYPOGRAPHY                                            TYPOGRAPHY CLASSES
Add these to a column to
append empty columns.              <body>                                                 typographic.css sets up some sensible default         These classes are defined in
                                      <div class=“container”>                             typography. The font-size percentage is of 16px       the typography.css file. Other
append-1         append-13
                                         <div class=“span-15”>                            (0.75 * 16px = 12 px). Line-heights and vertical      typographic tags as also
                                             <p>Column 1</p>                              margins are automatically calculated from this in     redefined in this file.
append-2         append-14
                                          </div>                                          ems.
                                                                                                                                                .small            0.8em; line 1.875
append-3         append-15               <div class=“span-6 last”>
                                             <p>Column 2</p>                              The base line-height is 18px (1.5ems). This           .large            1.2em; line 2.5
append-4         append-16                </div>                                          means that every element, from line-heights to
                                       </div>                                             images have a height that is a multiple of 18 (or     .hide             display: none
append-5         append-17
                                   </body>                                                1.5 if you use ems).
                                                                                                                                                .quiet            color 666 (grey)
append-6         append-18
                                   div.span-x now implies a column. Remember              Color is #222 (dark grey); font-family is
                                                                                                                                                .loud             color 000 (black)
append-7         append-19         to use “last” for the last column of the row to        “Helvetica Neue”, “Helvetica”, “Arial”, sans-serif;
                                   avoid it jumping to the next row. Columns can          Also defines tables, lists and misc. classes.         .highlight        bg ff0 (yellow)
append-8         append-20         be nested inside one another.
                                                                                                                                                .added            bg 060 (green)
append-9         append-21
                                                                                                                                                .removed          bg 900 (red)
append-10        append-22         GRID
                                                                                                                                                .first            mL 0; pL 0
append-11        append-23         If you need more or fewer columns use this formula to find the new total width:
                                   total width = (columns *40) - 10                                                                             .last             mR 0; pR 0
append-12
                                                                             950px (24 columns)                                                 .top              mT 0; pT 0
PREPEND CLASSES                                                                                                                                 .bottom           mB 0; pB 0
Add these to a column to
prepend empty columns.                                                                                                                          FORMS
prepend-1        prepend-13                                                                                                                     These are defined in the
                                                                                                                                                forms.css file.
prepend-2        prepend-14
                                                                   750px (19 columns)                                                           .error            red framed box
prepend-3        prepend-15
                                                                     790px (20 columns)                                                         .notice           yellow framed box
prepend-4        prepend-16
                                                                                                                                                .success          green framed box
                                                                       830px (21 columns)
prepend-5        prepend-17
                                                                         870px (22 columns)                                                     input.text        w 300px pad 5px
prepend-6        prepend-18
                                                                           910px (23 columns)                                                   input.title font-size 1.5em
prepend-7        prepend-19
                                                                                                                                                textarea          w 390px h 250px
prepend-8        prepend-20
                                   GRID CLASSES                                                                                                 select            w 200px
prepend-9        prepend-21
                                   .container           A container should group all your columns; use on <div>.                                label             bold
prepend-10       prepend-22
                                   .showgrid            Use this on any div.span / container to see the grid.                                   fieldset          padding 1.4em
prepend-11       prepend-23
                                   .border              Shows a border on the right hand side of a column; use on <div>.                        legend            font-size 1.2em
prepend-12
                                   .colborder           Shows a border with more whitespace, spans one column; use on <div>.
                                                                                                                                                IE FIXES
                                   .box                 Creates a padded box inside a column. (padding: 1.5em; margin-bottom: 1.5em;).
PUSH/PULL CLASSES
                                                                                                                                                ie.css contains every hack for
                                   hr.space             Use this to create a horizontal ruler across a column; can also simply use <hr />.
Use these classes on an                                                                                                                         Internet Explorer.
element to push it into the        .clear               Regular clearing, apply to column that should drop below previous ones.
                                                                                                                                                IE All            Fix margin bugs
next column, or pull it into the
previous column.                   .clearfix            Clearing floats without extra markup.
                                                                                                                                                                  Line height on
                                                                                                                                                                  sub/sup
push-0                             div.last             The last column in a row needs this class; use on <div>.
                                                                                                                                                IE 5              Centre layout
push-1           pull-1            div.span-x           Use these classes to set the width of a column; x = 1-24; use on <div>.
                                                                                                                                                IE 6              Fix legend bug
push-2           pull-2            .append-x            Add these to a column to append empty columns; x = 1-23.
                                                                                                                                                IE 6 & 7          Fix <ol> numbers
push-3           pull-3            .prepend-x           Add these to a column to prepend empty columns; x = 1-23.
                                                                                                                                                                  Fix <hr/> margins
push-4           pull-4            .push-x              Use these classes on an element to push it into the next column; x = 0-5.
push-5           pull-5            .pull-x              Use these classes on an element to pull it into the next column; x = 1-5.               IE 7              Fix <code> wrap

More Related Content

Similar to Blueprint CSS grid and typography cheat sheet

Sass & Compass (Barcamp Stuttgart 2012)
Sass & Compass (Barcamp Stuttgart 2012)Sass & Compass (Barcamp Stuttgart 2012)
Sass & Compass (Barcamp Stuttgart 2012)emrox
 
Rapid Prototyping
Rapid PrototypingRapid Prototyping
Rapid PrototypingEven Wu
 
Sass and Compass - Getting Started
Sass and Compass - Getting StartedSass and Compass - Getting Started
Sass and Compass - Getting Startededgincvg
 
CSS Less framework overview, Pros and Cons
CSS Less framework overview, Pros and ConsCSS Less framework overview, Pros and Cons
CSS Less framework overview, Pros and ConsSanjoy Kr. Paul
 
SASS, Compass, Gulp, Greensock
SASS, Compass, Gulp, GreensockSASS, Compass, Gulp, Greensock
SASS, Compass, Gulp, GreensockMarco Pinheiro
 
Preprocessor presentation
Preprocessor presentationPreprocessor presentation
Preprocessor presentationMario Noble
 
Compass And Sass(Tim Riley)
Compass And Sass(Tim Riley)Compass And Sass(Tim Riley)
Compass And Sass(Tim Riley)elliando dias
 
What I discovered about layout vis CSS Grid
What I discovered about layout vis CSS GridWhat I discovered about layout vis CSS Grid
What I discovered about layout vis CSS GridRachel Andrew
 
Basics of Rich Internet Applications
Basics of Rich Internet ApplicationsBasics of Rich Internet Applications
Basics of Rich Internet ApplicationsSubramanyan Murali
 
How do speed up web pages? CSS & HTML Tricks
How do speed up web pages? CSS & HTML TricksHow do speed up web pages? CSS & HTML Tricks
How do speed up web pages? CSS & HTML TricksCompare Infobase Limited
 
Web Frontend development: tools and good practices to (re)organize the chaos
Web Frontend development: tools and good practices to (re)organize the chaosWeb Frontend development: tools and good practices to (re)organize the chaos
Web Frontend development: tools and good practices to (re)organize the chaosMatteo Papadopoulos
 
Palestra pré processadores CSS
Palestra pré processadores CSSPalestra pré processadores CSS
Palestra pré processadores CSSJust Digital
 
LESS : The dynamic stylesheet language
LESS : The dynamic stylesheet languageLESS : The dynamic stylesheet language
LESS : The dynamic stylesheet languageKatsunori Tanaka
 
Desenvolvimento web com Ruby on Rails (parte 2)
Desenvolvimento web com Ruby on Rails (parte 2)Desenvolvimento web com Ruby on Rails (parte 2)
Desenvolvimento web com Ruby on Rails (parte 2)Joao Lucas Santana
 

Similar to Blueprint CSS grid and typography cheat sheet (20)

Sass & Compass (Barcamp Stuttgart 2012)
Sass & Compass (Barcamp Stuttgart 2012)Sass & Compass (Barcamp Stuttgart 2012)
Sass & Compass (Barcamp Stuttgart 2012)
 
Rapid Prototyping
Rapid PrototypingRapid Prototyping
Rapid Prototyping
 
Sass and Compass - Getting Started
Sass and Compass - Getting StartedSass and Compass - Getting Started
Sass and Compass - Getting Started
 
Landing Pages 101
Landing Pages 101Landing Pages 101
Landing Pages 101
 
CSS Less framework overview, Pros and Cons
CSS Less framework overview, Pros and ConsCSS Less framework overview, Pros and Cons
CSS Less framework overview, Pros and Cons
 
SASS, Compass, Gulp, Greensock
SASS, Compass, Gulp, GreensockSASS, Compass, Gulp, Greensock
SASS, Compass, Gulp, Greensock
 
Preprocessor presentation
Preprocessor presentationPreprocessor presentation
Preprocessor presentation
 
Think Vitamin CSS
Think Vitamin CSSThink Vitamin CSS
Think Vitamin CSS
 
Assembling Sass
Assembling SassAssembling Sass
Assembling Sass
 
Compass And Sass(Tim Riley)
Compass And Sass(Tim Riley)Compass And Sass(Tim Riley)
Compass And Sass(Tim Riley)
 
Theming and Sass
Theming and SassTheming and Sass
Theming and Sass
 
What I discovered about layout vis CSS Grid
What I discovered about layout vis CSS GridWhat I discovered about layout vis CSS Grid
What I discovered about layout vis CSS Grid
 
Basics of Rich Internet Applications
Basics of Rich Internet ApplicationsBasics of Rich Internet Applications
Basics of Rich Internet Applications
 
Accelerated Stylesheets
Accelerated StylesheetsAccelerated Stylesheets
Accelerated Stylesheets
 
How do speed up web pages? CSS & HTML Tricks
How do speed up web pages? CSS & HTML TricksHow do speed up web pages? CSS & HTML Tricks
How do speed up web pages? CSS & HTML Tricks
 
Web Frontend development: tools and good practices to (re)organize the chaos
Web Frontend development: tools and good practices to (re)organize the chaosWeb Frontend development: tools and good practices to (re)organize the chaos
Web Frontend development: tools and good practices to (re)organize the chaos
 
Palestra pré processadores CSS
Palestra pré processadores CSSPalestra pré processadores CSS
Palestra pré processadores CSS
 
LESS : The dynamic stylesheet language
LESS : The dynamic stylesheet languageLESS : The dynamic stylesheet language
LESS : The dynamic stylesheet language
 
Intro to SASS CSS
Intro to SASS CSSIntro to SASS CSS
Intro to SASS CSS
 
Desenvolvimento web com Ruby on Rails (parte 2)
Desenvolvimento web com Ruby on Rails (parte 2)Desenvolvimento web com Ruby on Rails (parte 2)
Desenvolvimento web com Ruby on Rails (parte 2)
 

More from 51 lecture

1244600439API2 upload
1244600439API2 upload1244600439API2 upload
1244600439API2 upload51 lecture
 
1242982622API2 upload
1242982622API2 upload1242982622API2 upload
1242982622API2 upload51 lecture
 
1242982374API2 upload
1242982374API2 upload1242982374API2 upload
1242982374API2 upload51 lecture
 
1242626441API2 upload
1242626441API2 upload1242626441API2 upload
1242626441API2 upload51 lecture
 
1242625986my upload
1242625986my upload1242625986my upload
1242625986my upload51 lecture
 
1242361147my upload ${file.name}
1242361147my upload ${file.name}1242361147my upload ${file.name}
1242361147my upload ${file.name}51 lecture
 
this is ruby test
this is ruby testthis is ruby test
this is ruby test51 lecture
 
this is ruby test
this is ruby testthis is ruby test
this is ruby test51 lecture
 
this is ruby test
this is ruby testthis is ruby test
this is ruby test51 lecture
 
this is ruby test
this is ruby testthis is ruby test
this is ruby test51 lecture
 
this is test api2
this is test api2this is test api2
this is test api251 lecture
 
My cool new Slideshow!
My cool new Slideshow!My cool new Slideshow!
My cool new Slideshow!51 lecture
 
Stress Management
Stress Management Stress Management
Stress Management 51 lecture
 
Iim A Managment
Iim A ManagmentIim A Managment
Iim A Managment51 lecture
 
Time Management
Time ManagementTime Management
Time Management51 lecture
 
Conversation By Design
Conversation By DesignConversation By Design
Conversation By Design51 lecture
 
dynamics-of-wikipedia-1196670708664566-3
dynamics-of-wikipedia-1196670708664566-3dynamics-of-wikipedia-1196670708664566-3
dynamics-of-wikipedia-1196670708664566-351 lecture
 
Tech_Implementation of Complex ITIM Workflows
Tech_Implementation of Complex ITIM WorkflowsTech_Implementation of Complex ITIM Workflows
Tech_Implementation of Complex ITIM Workflows51 lecture
 
javascript reference
javascript referencejavascript reference
javascript reference51 lecture
 

More from 51 lecture (20)

1244600439API2 upload
1244600439API2 upload1244600439API2 upload
1244600439API2 upload
 
1242982622API2 upload
1242982622API2 upload1242982622API2 upload
1242982622API2 upload
 
1242982374API2 upload
1242982374API2 upload1242982374API2 upload
1242982374API2 upload
 
1242626441API2 upload
1242626441API2 upload1242626441API2 upload
1242626441API2 upload
 
1242625986my upload
1242625986my upload1242625986my upload
1242625986my upload
 
1242361147my upload ${file.name}
1242361147my upload ${file.name}1242361147my upload ${file.name}
1242361147my upload ${file.name}
 
this is ruby test
this is ruby testthis is ruby test
this is ruby test
 
this is ruby test
this is ruby testthis is ruby test
this is ruby test
 
this is ruby test
this is ruby testthis is ruby test
this is ruby test
 
this is ruby test
this is ruby testthis is ruby test
this is ruby test
 
this is test api2
this is test api2this is test api2
this is test api2
 
My cool new Slideshow!
My cool new Slideshow!My cool new Slideshow!
My cool new Slideshow!
 
Stress Management
Stress Management Stress Management
Stress Management
 
Iim A Managment
Iim A ManagmentIim A Managment
Iim A Managment
 
Time Management
Time ManagementTime Management
Time Management
 
Conversation By Design
Conversation By DesignConversation By Design
Conversation By Design
 
Web 2.0
Web 2.0Web 2.0
Web 2.0
 
dynamics-of-wikipedia-1196670708664566-3
dynamics-of-wikipedia-1196670708664566-3dynamics-of-wikipedia-1196670708664566-3
dynamics-of-wikipedia-1196670708664566-3
 
Tech_Implementation of Complex ITIM Workflows
Tech_Implementation of Complex ITIM WorkflowsTech_Implementation of Complex ITIM Workflows
Tech_Implementation of Complex ITIM Workflows
 
javascript reference
javascript referencejavascript reference
javascript reference
 

Recently uploaded

The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterMydbops
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...AliaaTarek5
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rick Flair
 

Recently uploaded (20)

The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL Router
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...
 

Blueprint CSS grid and typography cheat sheet

  • 1. html SPAN CLASSES Use these classes to set the reset.css width of a column grid.css span-1 span-13 span-2 span-14 typography.css v.0.7.1 span-3 span-15 forms.css Blueprint CSS version 0.7.1 (http://code.google.com/p/blueprintcss/) span-4 span-16 Copyright © 2007-2008 Olav Bjorkoy (http://bjorkoy.com) ie.css Cheat sheet v.1.1 by Gareth J M Saunders, based on Help Sheet v.0.3 by Alejandro Vasquez span-5 span-17 span-6 span-18 STYLESHEET LINK RESET span-7 span-19 Download the latest version from http://code.google.com/p/blueprintcss/ and add these lines into the Blueprint CSS resets all <head> of your page. Check that your href path is correct. browsers’ default tags to : span-8 span-20 - margin, padding, border: 0 span-9 span-21 <link rel=quot;stylesheetquot; href=quot;blueprint/screen.cssquot; type=quot;text/cssquot; - font-size: 100% media=quot;screen, projectionquot;> - font-weight: normal span-10 span-22 <link rel=quot;stylesheetquot; href=quot;blueprint/print.cssquot; type=quot;text/cssquot; - other font values: inherit media=quot;printquot;> - image borders: 0 span-11 span-23 <!--[if IE]> <link rel=quot;stylesheetquot; href=quot;blueprint/ie.cssquot; type=quot;text/cssquot; span-12 span-24 Tables still need media=quot;screen, projectionquot;> “cellspacing=“0” in the mark- <![endif]--> up though. APPEND CLASSES USAGE TYPOGRAPHY TYPOGRAPHY CLASSES Add these to a column to append empty columns. <body> typographic.css sets up some sensible default These classes are defined in <div class=“container”> typography. The font-size percentage is of 16px the typography.css file. Other append-1 append-13 <div class=“span-15”> (0.75 * 16px = 12 px). Line-heights and vertical typographic tags as also <p>Column 1</p> margins are automatically calculated from this in redefined in this file. append-2 append-14 </div> ems. .small 0.8em; line 1.875 append-3 append-15 <div class=“span-6 last”> <p>Column 2</p> The base line-height is 18px (1.5ems). This .large 1.2em; line 2.5 append-4 append-16 </div> means that every element, from line-heights to </div> images have a height that is a multiple of 18 (or .hide display: none append-5 append-17 </body> 1.5 if you use ems). .quiet color 666 (grey) append-6 append-18 div.span-x now implies a column. Remember Color is #222 (dark grey); font-family is .loud color 000 (black) append-7 append-19 to use “last” for the last column of the row to “Helvetica Neue”, “Helvetica”, “Arial”, sans-serif; avoid it jumping to the next row. Columns can Also defines tables, lists and misc. classes. .highlight bg ff0 (yellow) append-8 append-20 be nested inside one another. .added bg 060 (green) append-9 append-21 .removed bg 900 (red) append-10 append-22 GRID .first mL 0; pL 0 append-11 append-23 If you need more or fewer columns use this formula to find the new total width: total width = (columns *40) - 10 .last mR 0; pR 0 append-12 950px (24 columns) .top mT 0; pT 0 PREPEND CLASSES .bottom mB 0; pB 0 Add these to a column to prepend empty columns. FORMS prepend-1 prepend-13 These are defined in the forms.css file. prepend-2 prepend-14 750px (19 columns) .error red framed box prepend-3 prepend-15 790px (20 columns) .notice yellow framed box prepend-4 prepend-16 .success green framed box 830px (21 columns) prepend-5 prepend-17 870px (22 columns) input.text w 300px pad 5px prepend-6 prepend-18 910px (23 columns) input.title font-size 1.5em prepend-7 prepend-19 textarea w 390px h 250px prepend-8 prepend-20 GRID CLASSES select w 200px prepend-9 prepend-21 .container A container should group all your columns; use on <div>. label bold prepend-10 prepend-22 .showgrid Use this on any div.span / container to see the grid. fieldset padding 1.4em prepend-11 prepend-23 .border Shows a border on the right hand side of a column; use on <div>. legend font-size 1.2em prepend-12 .colborder Shows a border with more whitespace, spans one column; use on <div>. IE FIXES .box Creates a padded box inside a column. (padding: 1.5em; margin-bottom: 1.5em;). PUSH/PULL CLASSES ie.css contains every hack for hr.space Use this to create a horizontal ruler across a column; can also simply use <hr />. Use these classes on an Internet Explorer. element to push it into the .clear Regular clearing, apply to column that should drop below previous ones. IE All Fix margin bugs next column, or pull it into the previous column. .clearfix Clearing floats without extra markup. Line height on sub/sup push-0 div.last The last column in a row needs this class; use on <div>. IE 5 Centre layout push-1 pull-1 div.span-x Use these classes to set the width of a column; x = 1-24; use on <div>. IE 6 Fix legend bug push-2 pull-2 .append-x Add these to a column to append empty columns; x = 1-23. IE 6 & 7 Fix <ol> numbers push-3 pull-3 .prepend-x Add these to a column to prepend empty columns; x = 1-23. Fix <hr/> margins push-4 pull-4 .push-x Use these classes on an element to push it into the next column; x = 0-5. push-5 pull-5 .pull-x Use these classes on an element to pull it into the next column; x = 1-5. IE 7 Fix <code> wrap