-
-
Notifications
You must be signed in to change notification settings - Fork 55
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
col-offset #6
Comments
thanks @gaurav21r! I didn't initially have a way to offset columns with ungrid, but here's a way you could do it. Set a <div class="row">
<div class="col" style="visibility:hidden"></div>
<div class="col" style="width:25%">Offset</div>
</div> hope that helps! |
@chrisnager Yep! Workable! Its just that it leads to "div soup". Using so many tags without proper semantics is not advisable on most of the web. I don't know if this contradicts with ungrid's philosophy but perhaps you could keep this issue open till we find a better solution (that doesn't need us to create extra divs) |
👍 |
Another solution without using extra markup is to insert empty cells with Demo: https://jsfiddle.net/8kbvvd3m/ Alternatively, you can add |
Wow! @chrisnager ! This is amazing!
Wondering, how to implement an offset like bootstrap's. http://getbootstrap.com/css/#grid-offsetting
The text was updated successfully, but these errors were encountered: