Skip to content

Instantly share code, notes, and snippets.

@dustincooper
Created July 24, 2013 03:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dustincooper/6067840 to your computer and use it in GitHub Desktop.
Save dustincooper/6067840 to your computer and use it in GitHub Desktop.
Singularity Example
////////////////////////
// Variables
////////////////////////
$grids: 12
$gutters: 1/3
//Breakpoints
$narrow: 720px
$normal: 960px
////////////////////////
// Layout
////////////////////////
#header
background: rgba(green, .5)
@include breakpoint ($normal)
@include grid-span(12,1)
#sidebar
background: rgba(blue, .3)
@include breakpoint ($normal)
@include grid-span(3,1)
#main
background: rgba(yellow, .5)
@include breakpoint ($normal)
@include grid-span(9,4)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment