SlideShare a Scribd company logo
960 Grid System
                                           A hands-on introduction

                                     By Mario Hernandez - District Court - California Central




 Collaborative Applications Development Forum - August 2011

Sunday, August 28, 11
What is a grid system?
      A series of columns working as guides to
      streamline web development workflow by
      providing commonly used dimensions,
      based on a fixed width of 960 pixels.

 Source: Wikipedia

Sunday, August 28, 11
Not exclusive to web design



Sunday, August 28, 11
Grid Systems on
                        Graphic Design




Sunday, August 28, 11
Source: Grid (page layout), wikipedia
Sunday, August 28, 11
Painting by Piet Mondriaan (later Mondrian)
Sunday, August 28, 11
Grid systems on the web
   • Grid systems on the web usually take the form of a
           CSS framework
               •        A framework is a “reuseable abstraction of
                        code wrapped in a well-defined API” *
               •        A collection of tools and shortcuts designed to
                        minimize code and make your life easier



* Source: Software framework, Wikipedia
Sunday, August 28, 11
Examples of Frameworks




Sunday, August 28, 11
CSS Frameworks
   • Apply the principles of software frameworks to web
           design
   • They provide standardized rules and shortcuts for:
      • Browser resets
                        (http://meyerweb.com/eric/tools/css/reset/)
               • Typography
               • Navigation
               • Print style
Sunday, August 28, 11
Why use a grid system?
   • Saves time
   • Saves money
   • Reduces frustration



Sunday, August 28, 11
Adopting a grid system can accelerate design while maintaining order
Photo by dysturb, Grid. Flickr

Sunday, August 28, 11
How do grid systems work?
    • Grid systems are built
           using columns
                •       Columns are grid
                        system’s smallest
                        unit of measurement

    • The two most popular
           version of a grid system
           are 12 and 16 columns

Example based on 960.gs (12 columns)

Sunday, August 28, 11
Column width
    • Page regions (header,
           sidebar, content, etc.,)
           are defined by column
           width
    • As in: “The header is
           eight columns wide”




Example based on 960.gs (12 columns)
Sunday, August 28, 11
Gutters (margins)
    • Margins are used to
           create gutters between
           columns
    • These margins provide
           gutters between page
           regions



Example based on 960.gs (12 columns)
Sunday, August 28, 11
Floating <div> elements
    •       The wrapping <div>                        class: grid_12

            elements are assigned a
            column width using a      class: grid_4      class: grid_4
                                                                          class:
            CSS class                                                     grid_4


    • Because these classes                  class: grid_8
            also float the elements,
            they simply fall into
                                        class: grid_6             class: grid_6
            place on the page

Sunday, August 28, 11
Example of floating elements
                   .box1

                   .box2


                   .box3




Sunday, August 28, 11
Example of floating elements
                   .box1   .box2




                   .box3




Sunday, August 28, 11
Example of floating elements
                   .box1   .box2   .box3




Sunday, August 28, 11
Example of floating elements
                   .box1       .box2        .box3

                        .box1, .box2, .box3 {
                        display:block;
                        float:left;
                        margin: 0 10px;
                        }




Sunday, August 28, 11
What is 960.gs?

    • 960.gs — also known as the 960 Grid System — was
            created by Nathan Smith in order to “streamline web
            development workflow”
    • It’s both a prototyping and development framework

 Source: 960.gs
Sunday, August 28, 11
What’s in it?
   • You can download it from http://960.gs
   • GPL and MIT licensed
   • The 960.gs download includes:
      • Printable sketch sheets for
                        doodling
                  • Design templates for all most
                        applications: Photoshop, Illustrator,
                        Inkscape, OmniGraffle, etc.


 Source: 960.gs
Sunday, August 28, 11
12 column version




 Source: 960.gs
Sunday, August 28, 11
Grid system CSS classes
 • grid_x (where X indicates
         the number of columns an
         element is given)
 • alpha & omega: Fix floats
         on nested regions
 • prefix & suffix: Allow empty
         spaces before or after a
         region
                                    grid_4   grid_4

 • pull & push: Rearrange           push_6   pull_6

         regions independently of
         the order they appear on
         the markup
 Source: 960.gs
Sunday, August 28, 11
Grid system CSS classes
 • grid_x (where X indicates
         the number of columns an
         element is given)
 • alpha & omega: Fix floats
         on nested regions
 • prefix & suffix: Allow empty
         spaces before or after a
         region
                                    grid_4

 • pull & push: Rearrange           push_6
                                    pull_6

         regions independently of
         the order they appear on
         the markup
 Source: 960.gs
Sunday, August 28, 11
Grid system CSS classes
 • grid_x (where X indicates
         the number of columns an
         element is given)
 • alpha & omega: Fix floats
         on nested regions
 • prefix & suffix: Allow empty
         spaces before or after a
         region
                                    grid_4   grid_4

 • pull & push: Rearrange           pull_6   push_6

         regions independently of
         the order they appear on
         the markup
 Source: 960.gs
Sunday, August 28, 11
Let’s see it in action
                          The rest of the presentation is a hands-on demo of the grid system.




Sunday, August 28, 11
Sunday, August 28, 11
When not to use a grid system
     • Implementing a grid will probably be impossible if your
            site’s layout...
                 • uses irregular column sizes
                 • has irregular margins or gutters
                 • has a width that isn’t divisible by a sane number

Sunday, August 28, 11
Questions?
                        phone: 818-275-4927

                        email: designsdrive@gmail.com

                        twitter: @designsdrive
Sunday, August 28, 11
Acknowledgements
                    •   Nathan Smith: Creator of the 960 grid system. Without his influence
                        and vision this presentation would not be possible. Learn more about the
                        grid system at http://960.gs

                    •   Todd Nienkerk: Co-founder, designer four kitchens (twitter:
                        @toddross). I saw his 960 grid system presentation at the 2011 LA
                        DrupalCamp conference and he blew me away. He kindly allowed me to use
                        some of his material for this presentation. You can catch his presentations at
                        http://fourkitchens.com/presentations.

                    •   Jonathan D’andries: Developer for District Court, WIWD. His hard
                        work on promoting standards and best practices for design and
                        development within the Court’s system is influential. I personally thank him
                        for the opportunities he has given me.




This presentation was created by Mario Hernandez in an effort to educate fellow designers and developers of the Federal Courts System
in the use grids and frameworks. August 2011.

Sunday, August 28, 11

More Related Content

KEY
An introduction to the 960 grid system
PPT
PENXY - Redis in Azure
PPTX
Keynote - Silicon Valley Cloud Computing User Group Meet - April 2011 - Srira...
PDF
Is the database a solved problem?
PDF
OpenExpo: MySQL, Where are you going?
PPTX
MySQL At Yelp
PPTX
OpenStack: Why Is It Gaining So Much Traction?
PDF
Business Intelligent
An introduction to the 960 grid system
PENXY - Redis in Azure
Keynote - Silicon Valley Cloud Computing User Group Meet - April 2011 - Srira...
Is the database a solved problem?
OpenExpo: MySQL, Where are you going?
MySQL At Yelp
OpenStack: Why Is It Gaining So Much Traction?
Business Intelligent

Viewers also liked (20)

PPTX
What is grid system
PDF
Grid Systems
ODP
Grid Based Layout
PDF
Grid Systems: Building Blocks to a Better User Experience
PDF
960 Grid System
PDF
Modernist Typography and the Swiss grid - Carlo Giannasca
PPTX
Technology in the k12 classrom
PDF
Thinking about Design
PDF
Wayfinding System for Pedestrians
PDF
Engl 515 final visual
PDF
스위스 디자인/ 국제주의 양식
PDF
New ideas on wayfinding
PPTX
Sign Design & Wayfinding
PDF
Design Scripts: Designing (inter)action with intent
PDF
The Art & Signs of Wayfinding & Signage Design
PDF
Layout, principles
PDF
Design Theory - Lecture 03: Design as Learning / Methods & Tools
PDF
Typography Fundamentals
PDF
VDIS10019 Lecture - Environmental Graphic Design
What is grid system
Grid Systems
Grid Based Layout
Grid Systems: Building Blocks to a Better User Experience
960 Grid System
Modernist Typography and the Swiss grid - Carlo Giannasca
Technology in the k12 classrom
Thinking about Design
Wayfinding System for Pedestrians
Engl 515 final visual
스위스 디자인/ 국제주의 양식
New ideas on wayfinding
Sign Design & Wayfinding
Design Scripts: Designing (inter)action with intent
The Art & Signs of Wayfinding & Signage Design
Layout, principles
Design Theory - Lecture 03: Design as Learning / Methods & Tools
Typography Fundamentals
VDIS10019 Lecture - Environmental Graphic Design
Ad

Similar to 960 Grid System - A hands-on introduction (20)

KEY
CSS3 for web designer - How to design a visually appealing website
PPTX
MW2011 Grid-based Web Design presentation
PPTX
Ceph Day Seoul - The Anatomy of Ceph I/O
PPTX
Data storage in clouds
PDF
Accelerated grid theming using NineSixty (Dallas Drupal Days 2011)
PPTX
Cassandra
PPTX
Building Webs Better
PDF
The Role of Atom/AtomPub in Digital Archive Services at The University of Tex...
PDF
Building A Scalable Open Source Storage Solution
PDF
Better, Faster, Cheaper Infrastructure: Apache CloudStack and Riak CS
PDF
Performance & Responsive Web Design
PDF
Battle of the Front-End Frameworks: Bootstrap vs. Foundation
PDF
Apereo OAE - Bootcamp
PPTX
CSS Grid Systems
PDF
Making Cloudy Peanut Butter Cups: Apache CloudStack + Riak CS
PDF
NoSQL overview implementation free
PDF
OCaml Labs introduction at OCaml Consortium 2012
PDF
Accelerated grid theming using NineSixty (DrupalCamp Dallas)
PDF
Accelerated Grid Theming
PDF
Introducing gluster filesystem by aditya
CSS3 for web designer - How to design a visually appealing website
MW2011 Grid-based Web Design presentation
Ceph Day Seoul - The Anatomy of Ceph I/O
Data storage in clouds
Accelerated grid theming using NineSixty (Dallas Drupal Days 2011)
Cassandra
Building Webs Better
The Role of Atom/AtomPub in Digital Archive Services at The University of Tex...
Building A Scalable Open Source Storage Solution
Better, Faster, Cheaper Infrastructure: Apache CloudStack and Riak CS
Performance & Responsive Web Design
Battle of the Front-End Frameworks: Bootstrap vs. Foundation
Apereo OAE - Bootcamp
CSS Grid Systems
Making Cloudy Peanut Butter Cups: Apache CloudStack + Riak CS
NoSQL overview implementation free
OCaml Labs introduction at OCaml Consortium 2012
Accelerated grid theming using NineSixty (DrupalCamp Dallas)
Accelerated Grid Theming
Introducing gluster filesystem by aditya
Ad

More from Mario Hernandez (13)

PDF
Responsive images in Drupal 8
PDF
Component-driven Drupal Theming
PDF
Responsive design with flexbox
PDF
Building your first d8 theme
PDF
HTML5 and CSS3
PDF
Introduction to drupal
PDF
Rapid wireframing and prototyping
PDF
Introduction to HTML and CSS
KEY
CSS Frameworks
PPTX
Responsive Web Design
KEY
CSS Framework + Progressive Enhacements
KEY
Introduction to Drupal Content Management System
KEY
Front end-design and best practices
Responsive images in Drupal 8
Component-driven Drupal Theming
Responsive design with flexbox
Building your first d8 theme
HTML5 and CSS3
Introduction to drupal
Rapid wireframing and prototyping
Introduction to HTML and CSS
CSS Frameworks
Responsive Web Design
CSS Framework + Progressive Enhacements
Introduction to Drupal Content Management System
Front end-design and best practices

Recently uploaded (20)

PPTX
KOTA LAMA BANYUMAS.pptxxxxxxxxxxxxxxxxxxxx
DOCX
algorithm desgin technologycsecsecsecsecse
PPTX
BSCS lesson 3.pptxnbbjbb mnbkjbkbbkbbkjb
PPTX
artificialintelligencedata driven analytics23.pptx
PPTX
Wisp Textiles: Where Comfort Meets Everyday Style
PDF
GREEN BUILDING MATERIALS FOR SUISTAINABLE ARCHITECTURE AND BUILDING STUDY
PDF
Benefits_of_Cast_Aluminium_Doors_Presentation.pdf
PPT
EGWHermeneuticsffgggggggggggggggggggggggggggggggg.ppt
PPTX
Special finishes, classification and types, explanation
PDF
YOW2022-BNE-MinimalViableArchitecture.pdf
PPTX
areprosthodontics and orthodonticsa text.pptx
PDF
BRANDBOOK-Presidential Award Scheme-Kenya-2023
PPT
UNIT I- Yarn, types, explanation, process
PPTX
TLE-10-PPTHAJAOSBDJDEKSNbknbtktktmktkttk
PPTX
Implications Existing phase plan and its feasibility.pptx
PDF
Africa 2025 - Prospects and Challenges first edition.pdf
PPT
Machine printing techniques and plangi dyeing
PPTX
building Planning Overview for step wise design.pptx
PDF
The Advantages of Working With a Design-Build Studio
PPTX
6- Architecture design complete (1).pptx
KOTA LAMA BANYUMAS.pptxxxxxxxxxxxxxxxxxxxx
algorithm desgin technologycsecsecsecsecse
BSCS lesson 3.pptxnbbjbb mnbkjbkbbkbbkjb
artificialintelligencedata driven analytics23.pptx
Wisp Textiles: Where Comfort Meets Everyday Style
GREEN BUILDING MATERIALS FOR SUISTAINABLE ARCHITECTURE AND BUILDING STUDY
Benefits_of_Cast_Aluminium_Doors_Presentation.pdf
EGWHermeneuticsffgggggggggggggggggggggggggggggggg.ppt
Special finishes, classification and types, explanation
YOW2022-BNE-MinimalViableArchitecture.pdf
areprosthodontics and orthodonticsa text.pptx
BRANDBOOK-Presidential Award Scheme-Kenya-2023
UNIT I- Yarn, types, explanation, process
TLE-10-PPTHAJAOSBDJDEKSNbknbtktktmktkttk
Implications Existing phase plan and its feasibility.pptx
Africa 2025 - Prospects and Challenges first edition.pdf
Machine printing techniques and plangi dyeing
building Planning Overview for step wise design.pptx
The Advantages of Working With a Design-Build Studio
6- Architecture design complete (1).pptx

960 Grid System - A hands-on introduction

  • 1. 960 Grid System A hands-on introduction By Mario Hernandez - District Court - California Central Collaborative Applications Development Forum - August 2011 Sunday, August 28, 11
  • 2. What is a grid system? A series of columns working as guides to streamline web development workflow by providing commonly used dimensions, based on a fixed width of 960 pixels. Source: Wikipedia Sunday, August 28, 11
  • 3. Not exclusive to web design Sunday, August 28, 11
  • 4. Grid Systems on Graphic Design Sunday, August 28, 11
  • 5. Source: Grid (page layout), wikipedia Sunday, August 28, 11
  • 6. Painting by Piet Mondriaan (later Mondrian) Sunday, August 28, 11
  • 7. Grid systems on the web • Grid systems on the web usually take the form of a CSS framework • A framework is a “reuseable abstraction of code wrapped in a well-defined API” * • A collection of tools and shortcuts designed to minimize code and make your life easier * Source: Software framework, Wikipedia Sunday, August 28, 11
  • 9. CSS Frameworks • Apply the principles of software frameworks to web design • They provide standardized rules and shortcuts for: • Browser resets (http://meyerweb.com/eric/tools/css/reset/) • Typography • Navigation • Print style Sunday, August 28, 11
  • 10. Why use a grid system? • Saves time • Saves money • Reduces frustration Sunday, August 28, 11
  • 11. Adopting a grid system can accelerate design while maintaining order Photo by dysturb, Grid. Flickr Sunday, August 28, 11
  • 12. How do grid systems work? • Grid systems are built using columns • Columns are grid system’s smallest unit of measurement • The two most popular version of a grid system are 12 and 16 columns Example based on 960.gs (12 columns) Sunday, August 28, 11
  • 13. Column width • Page regions (header, sidebar, content, etc.,) are defined by column width • As in: “The header is eight columns wide” Example based on 960.gs (12 columns) Sunday, August 28, 11
  • 14. Gutters (margins) • Margins are used to create gutters between columns • These margins provide gutters between page regions Example based on 960.gs (12 columns) Sunday, August 28, 11
  • 15. Floating <div> elements • The wrapping <div> class: grid_12 elements are assigned a column width using a class: grid_4 class: grid_4 class: CSS class grid_4 • Because these classes class: grid_8 also float the elements, they simply fall into class: grid_6 class: grid_6 place on the page Sunday, August 28, 11
  • 16. Example of floating elements .box1 .box2 .box3 Sunday, August 28, 11
  • 17. Example of floating elements .box1 .box2 .box3 Sunday, August 28, 11
  • 18. Example of floating elements .box1 .box2 .box3 Sunday, August 28, 11
  • 19. Example of floating elements .box1 .box2 .box3 .box1, .box2, .box3 { display:block; float:left; margin: 0 10px; } Sunday, August 28, 11
  • 20. What is 960.gs? • 960.gs — also known as the 960 Grid System — was created by Nathan Smith in order to “streamline web development workflow” • It’s both a prototyping and development framework Source: 960.gs Sunday, August 28, 11
  • 21. What’s in it? • You can download it from http://960.gs • GPL and MIT licensed • The 960.gs download includes: • Printable sketch sheets for doodling • Design templates for all most applications: Photoshop, Illustrator, Inkscape, OmniGraffle, etc. Source: 960.gs Sunday, August 28, 11
  • 22. 12 column version Source: 960.gs Sunday, August 28, 11
  • 23. Grid system CSS classes • grid_x (where X indicates the number of columns an element is given) • alpha & omega: Fix floats on nested regions • prefix & suffix: Allow empty spaces before or after a region grid_4 grid_4 • pull & push: Rearrange push_6 pull_6 regions independently of the order they appear on the markup Source: 960.gs Sunday, August 28, 11
  • 24. Grid system CSS classes • grid_x (where X indicates the number of columns an element is given) • alpha & omega: Fix floats on nested regions • prefix & suffix: Allow empty spaces before or after a region grid_4 • pull & push: Rearrange push_6 pull_6 regions independently of the order they appear on the markup Source: 960.gs Sunday, August 28, 11
  • 25. Grid system CSS classes • grid_x (where X indicates the number of columns an element is given) • alpha & omega: Fix floats on nested regions • prefix & suffix: Allow empty spaces before or after a region grid_4 grid_4 • pull & push: Rearrange pull_6 push_6 regions independently of the order they appear on the markup Source: 960.gs Sunday, August 28, 11
  • 26. Let’s see it in action The rest of the presentation is a hands-on demo of the grid system. Sunday, August 28, 11
  • 28. When not to use a grid system • Implementing a grid will probably be impossible if your site’s layout... • uses irregular column sizes • has irregular margins or gutters • has a width that isn’t divisible by a sane number Sunday, August 28, 11
  • 29. Questions? phone: 818-275-4927 email: designsdrive@gmail.com twitter: @designsdrive Sunday, August 28, 11
  • 30. Acknowledgements • Nathan Smith: Creator of the 960 grid system. Without his influence and vision this presentation would not be possible. Learn more about the grid system at http://960.gs • Todd Nienkerk: Co-founder, designer four kitchens (twitter: @toddross). I saw his 960 grid system presentation at the 2011 LA DrupalCamp conference and he blew me away. He kindly allowed me to use some of his material for this presentation. You can catch his presentations at http://fourkitchens.com/presentations. • Jonathan D’andries: Developer for District Court, WIWD. His hard work on promoting standards and best practices for design and development within the Court’s system is influential. I personally thank him for the opportunities he has given me. This presentation was created by Mario Hernandez in an effort to educate fellow designers and developers of the Federal Courts System in the use grids and frameworks. August 2011. Sunday, August 28, 11