Skip to content
This repository has been archived by the owner on Jul 14, 2023. It is now read-only.

Optionally display a visual base grid #15

Merged
merged 10 commits into from
Oct 21, 2012
Merged

Optionally display a visual base grid #15

merged 10 commits into from
Oct 21, 2012

Conversation

kaishin
Copy link

@kaishin kaishin commented Sep 21, 2012

No description provided.

@@ -274,23 +274,48 @@ Here is a summary of possible argument combinations:
@include breakpoint(max-width, 4);
@include breakpoint(320px max-width 480px);

### Visual grid

By setting `$visual-grid` to `true`, you can display the base grid in the background (default) or as an overlay. You can even change the color and opacity of the gridlines by overriding the default settings as detailed in the section below.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd note that in webkit the visual grid might be slightly off due to rounding.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's fact the other way around. The visual grid produces less rounding errors than the span-columns() mixin.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just meant explain why sometimes it might not always line up perfectly. I would think that they would and the fact that they don't would make me think that I am doing something wrong with my code.

@kaishin kaishin merged commit be5b4e1 into master Oct 21, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants