This repository contains a collection of design templates and code to quickly get you up and running with the 978 (and companion) grid systems.
Pull request Compare This branch is 7 commits ahead of MChorfa:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
1218 Templates
1378 Templates
300 Templates
748 Templates
978 Templates
.gitignore
LICENSE.txt
README.markdown

README.markdown

978 Grid System

This repository contains a collection of design templates and code to quickly get you up and running with the 978 (and companion) grid systems. As we get free time, we will continue to improve this collection over time. We encourage you to contribute as well.

The 978 and companion grid systems are brought to you by Brothers Roloff.
Learn more about 978 for web design: http://978.gs/

Additional Contributors

CSS Usage

Note from the author: We do NOT encourage the use of CSS frameworks. HTML, when written correctly, should semantically describe your CONTENT [as much that is realistically feasible]. Mucking up your markup with classes for layout/grid is not considered best practice.

With that being said, however, CSS frameworks can make rapid prototyping a breeze. They can let someone of any skill-set quickly mock up a basic look and feel of a website. In some ways, it may even be faster than doing it in Photoshop.

Therefore, we are providing this framework for rapid prototype use (and for those not comfortable writing their own CSS). We still strongly encourage you to write your own CSS on your own projects.

Include the CSS framework in your page

<link rel="stylesheet" href="978.css">

Note: Do not include the "demo-files" CSS, as it is for demonstration purposes only.

Wrap your layout in a container element

<div class="layout-978">

Add rows and columns to achieve your desired layout

978 is a 12 column grid system. Therefore, you can add as many columns to a row as long as they total the number 12. Be sure to total the appropriate number of columns when using the companion grid systems CSS.

<div class="row">
    <div class="col2">138px</div>
    <div class="col10">810px</div>
    <div class="row-end">&nbsp;</div>
</div>

Don't forget to add a "row-end" element immediately after your last column of a row. Placing the ending element here will allow you to apply a background image or color to each row separately and it will grow/repeat vertically to the height of your longest column.