cobyism / gridism

A simple responsive CSS grid.
http://pages.cobyism.com/gridism
MIT License
660 stars 85 forks source link

Offsets #16

Closed oxyberg closed 10 years ago

oxyberg commented 10 years ago

This framework needs supporting of offsets I think.

cobyism commented 10 years ago

If this is possible without bloating out the CSS then I’m all for it. I haven’t found myself personally ever needing it when using this yet, but I’m totally open to seeing how people end up wanting to use things like this, and would be very interested in seeing any pull requests implementing these kinds of things. @duse Is this something you want badly enough to take a stab at yourself? Let me know if that’s the case and I can add you as a collaborator if you like :grinning:

oxyberg commented 10 years ago

@cobyism I probably resolved it by adding an empty unit before. Something like this:

<div class="unit one-fifth"></div>
<div class="unit one-fifth">Offset</div>
cobyism commented 10 years ago

Yeah, that is how I’ve done it too in the few cases I’ve needed it. Since it’s so easy to do in markup, and not a very common problem (at least in my experience), I’d much rather just let people manage this themselves and opt to not increase the size of the CSS.