-
-
Notifications
You must be signed in to change notification settings - Fork 78.5k
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
add something like semantic.gs? #789
Comments
Mark's working on some cool grid stuff for 2.0 - responsive, etc. But we'll take a look at what they're doing, thanks! |
Just to be clear. You can use makeColumn to make a column. // makeColumn can be used to mark any element (e.g., .content-primary) as a column without changing markup to .span something
.makeColumn(@columnSpan: 1) {
.gridColumn();
.columns(@columnSpan);
} and to make a row just .row I guess. |
gagarine, this doesn't work. The closest I could get was this for twitter bootstrap 2:
lessc will generate the following in styles.css
|
Did you try?: .myclassColumn{
makeColumn(2)
} What CSS this will generate? I will like to reopen the issue because @fat didn't really answer the question but I don't have the right for that. |
Has anyone got this working or gone further down this road? Check this: https://gist.github.com/1792587#comments The best I could find so far.... anyone? |
I wont use the Twitter Bootstrap grid because i dont want do write the size of column on my HTML, but I spent at least 2 days searching for some way to make this happen from my less file! This code bellow works to make certain column get width, but, not like a grid system. I'll keep looking for. Twitter bootstrap guys, PLEASE, make us more happy! =) |
Done! Sorry for the last post =) Try this: .content{ .makeRow(); Finally! |
Yeah! Great stuff!!! |
Here it is... just on the idea stage, suggestions are welcome. targeting 2.0.4 for now, until bootstrap-sass catches up with 2.1 (or is there a more recent or better sass bootstrap out there?) |
There i a good article about how to achieve semantic bootstrap here: http://ruby.bvision.com/blog/please-stop-embedding-bootstrap-classes-in-your-html |
Ammendment to CSS @import regex. This will now allow media queries like (min-width: 240px).
I like semantic.gs approach to the grid system. https://github.com/twigkit/semantic.gs
Wouldn't this be a nice feature to add to the bootstrap?
The text was updated successfully, but these errors were encountered: