Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

calculated width + gutter width #27

Closed
michaelreynolds opened this issue Aug 12, 2014 · 1 comment
Closed

calculated width + gutter width #27

michaelreynolds opened this issue Aug 12, 2014 · 1 comment

Comments

@michaelreynolds
Copy link

Hi Dan,

Just a suggestion here. I started using your older grid, converting it to SASS and but then I decided that set percentages wouldn't work with gutters so I made a function to calculate widths. If you want to swap out your width percentage calculations for each unit so that gutters can be set even in percentages, check this out.

https://gist.github.com/10905171

@daneden
Copy link
Owner

daneden commented Dec 11, 2014

Not sure what difference this is making. With box-sizing: border-box, you can use percentage-width gutters, and I can’t see how percentage(1 / 2) is different to the function you’re using.

@daneden daneden closed this as completed Dec 11, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants