mbarvian/mesh — Issue #2: using sass function for percent allows px gutter
Author: krisbulman
Created: 2011-11-19 23:52:33+00:00
State: open

```
// Configuration
$number-of-columns: 16 !default; // the number of columns in your grid
$gutter-width: 20px !default; // The width of the gutters of your grid, in percentages
$gutter-width-percent: percentage($gutter-width / $max-desktop-width);
$max-desktop-width: 940px !default;
$col-width: ($max-desktop-width - $gutter-width * ($number-of-columns - 1)) / $number-of-columns;
```

then convert all calcs that use $gutter-width to $gutter-width-percent