Adds the ability to override $total-width when calling mixins. Adds an example of this in use in fixed_responsive #59

Open
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
@patbenatar

I've added optional parameters to the mixins that allow the developer to optionally override $total-width on a use-by-use basis.

The use case for this is a fixed width site for desktop browsers with switching to a fluid site when we go responsive. See the fixed_responsive example I added.

I only know SASS so I didn't implement other flavored versions in this pull request. I'm hoping someone with experience in the other flavors can apply my changes (they're minor) if this is a feature you'd like to include.

Adds the ability to override $total-width when calling mixins. Adds a…
…n example of this in use in fixed_responsive
@joshuarrrr

This comment has been minimized.

Show comment Hide comment
@joshuarrrr

joshuarrrr Jun 10, 2014

I had the same use case, so I made that modification as well.

98f42dc
and
4caa7a0

I had the same use case, so I made that modification as well.

98f42dc
and
4caa7a0

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