github github
  • Home
  • Pricing and Signup
  • Training
  • Gist
  • Blog
  • Login

pixelhandler / simpleSassFramework

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 1
    • 1
  • Source
  • Commits
  • Network (1)
  • Issues (0)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Switch Branches (1)
    • master ✓
  • Switch Tags (0)
  • Branch List
Sending Request…

uses Sass for CSS grid layout generation and includes HTML markup — Read more

  Cancel

simpleSassFramework

  Cancel
  • HTTP
  • Git Read-Only

This URL has Read+Write access

add some documentation/comments 
pixelhandler (author)
Thu Feb 18 01:13:25 -0800 2010
commit  fee17bfef0f61cd12d46
tree    75100ff0765c5f2775f1
parent  ad8e807a91cb12724ceb
simpleSassFramework /
name age
history
message
file README.md Loading commit data...
directory css/
file index.html
directory js/
README.md

README for simpleSassFramework

Simple tool to create a starting document using CSS reset for elements and a generated grid


  • Uses Sass for CSS grid layout generation

  • Includes HTML 5 layout for supporting Sass generated CSS


Set variables to calclute your grid:

`

!gTotal = 960px                             // total page width
!grid = 16                                  // number of columns
!gGutter = 20px                             // gutter between columns

!gMargin = !gGutter / 2                     // set margin at half of gutter
!gCol = ( !gTotal / !grid ) - !gGutter      // single column width

`

Execute the command in your terminal app # sass style.sass ./style.css

This is a basic template tool for generating your own grid system using Sass

Basically this builds on best practices of existing CSS grid systems like 960.gs or Blueprint in a bare bones fashion.

The generated CSS includes classes for prototyping or designing in a browser; and also creates variables for assignment to your semantic id’s for cleaner markup.

An HTML 5 layout is included as an example, with a simple layout and CSS drop-down menus (son-of-suckerfish style).

Dedicated Server Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
  • Blog
  • Support
  • Training
  • Job Board
  • Shop
  • Contact
  • API
  • Status
  • © 2010 GitHub Inc. All rights reserved.
  • Terms of Service
  • Privacy
  • Security
  • English
  • Deutsch
  • Français
  • 日本語
  • Português (BR)
  • 中文
  • See all available languages

Your current locale selection: English. Choose another?

  • English
  • Afrikaans
  • Català
  • Čeština
  • Deutsch
  • Español
  • Français
  • Hrvatski
  • Indonesia
  • Italiano
  • 日本語
  • Nederlands
  • Norsk
  • Polski
  • Português (BR)
  • Српски
  • Svenska
  • 中文