Added faux empty grid columns as plugins #91

Closed
wants to merge 4 commits into
from

Projects

None yet

2 participants

@yodasw16
yodasw16 commented Aug 1, 2011

I submitted this before, but never had a chance to make the requested changes. I have now moved the changes into the plugins directory instead of the main grids.css file.

original message:

I've seen this issue come up a few times in the google group, so I thought I'd take a stab at adding it to see if anyone else thinks it's a good idea.

Basically the concept is that sometimes you want to give the appearance of an empty column in a grid without having an empty element. This commit just adds classes that correspond with the current grid classes but adds append and prepend to them. For example, you could add the class "appendSize1of4" to create an empty 25% width space after a grid column, or "prependSize1of4" to add it before.

@ricklowes

I am wondering whether both sets (prepend and append) are both required? I was taking a look at Twitter Bootstrap today and noticed they only seem be using an 'offset' class (same as prepend) to achieve their examples and it looks like they would be able to cover what seems to be pretty much any layout. Are there use cases that you're aware of that would require both sets?

@yodasw16
yodasw16 commented Aug 5, 2016

Wow, this is old and no longer relevant. Closing.

@yodasw16 yodasw16 closed this Aug 5, 2016
@yodasw16 yodasw16 deleted the yodasw16:faux_empty_columns branch Aug 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment