Created
June 15, 2012 14:36
-
-
Save micahgodbolt/2936775 to your computer and use it in GitHub Desktop.
Proposed Susy syntax to create "The Fonmon" asymmetric grid layout
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Proposed Susy syntax to create "The Fonmon" asymmetric grid layout. http://gridsetapp.com/specs/fonmon.php?gridset=show | |
$total-columns: 5; | |
$column-width: 200px, 96px, 96px, 96px, 200px; | |
// could use relative units: 1, 1 would be 50/50%. 1, 2 would be 33/66%, 1, 1, 1 would be 33/33/33% | |
$columns: column padding, column padding, column padding, column padding, …; //suggested multi dimensional syntax | |
$gutter-width: 30px; | |
//with relative units gutter width needs a reference, like 30px at 960px...this needs work |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Wrote some initial logic to figure this out here: https://github.com/scottkellum/Singularity/blob/grid-refactor/stylesheets/singularity/_grid.sass