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

Handle odd-pixel-sized gutters. #2

Closed
JohnAlbin opened this issue Feb 6, 2012 · 0 comments
Closed

Handle odd-pixel-sized gutters. #2

JohnAlbin opened this issue Feb 6, 2012 · 0 comments
Assignees
Milestone

Comments

@JohnAlbin
Copy link
Owner

Mark Boulton likes to use gutters with odd numbers of pixels, so that he can place a line between columns.

Currently, the mixin divdes hte gutter in half, so you'd have a half pixel in both the left and right padding. Its likely browsers would round them in the same way (either up or down) which means you'd end up with an even number of pixels in the gutter.

We need to make the left gutter be 1 pixel smaller than the right when the total gutter size is set to an odd number of pixels.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant