News for hackers. Stuff that matters.
Re:Neat by betageek on Wednesday September 05, 2012 @07:29AM (#4478871)
Dear CSS framework writers (not just Neat) can you start adding a section to your docs that states what Browsers your frameworks are supposed to support. This doesn't work in IE8 at all, which is fine if your not going to support it as long as you make that clear.
Re:Neat by kaishin on Wednesday September 05, 2012 @07:49AM (#4478916)
Thanks for pointing that out betageek. That's certainly an oversight. We will be working on more IE compatibility and a better documentation.
Re:Neat by kaishin on Friday September 07, 2012 @04:18PM (#4490998)
Re:Neat by damncabbage on Wednesday September 05, 2012 @12:08AM (#4477936)
Zurb Foundation (http://foundation.zurb.com/) is another great one that's done with Sass.

I tend to prefer it over the more intrusive styles Bootstrap seems to add; Foundation lets you more easily pick and choose what you do and don't want to drag in.

Re:Neat by dmix on Wednesday September 05, 2012 @12:21AM (#4477970)
I second foundation, did two big projects with bootstrap and it kept getting in the way of what I wanted to do.

I've now done two sites with Foundation and it's my new standard, way more designer friendly and always feels flexible.

Re:Neat by citricsquid on Wednesday September 05, 2012 @12:30AM (#4477993)
I'm starting a new project and I've been thinking about Foundation for a while, I'm going to take your recommendation and go with it. Any major differences between Foundation and Bootstrap that might catch someone coming from Bootstrap out, or is it plain sailing?
Re:Neat by dmix on Wednesday September 05, 2012 @12:35AM (#4478009)
The only downside is the javascript libraries are a bit underdeveloped and lack the large OSS-community scrutiny that Twitters benefits from.

But the basic stuff is pretty similar, so it's easy to switch.

Re:Neat by davidw on Wednesday September 05, 2012 @03:09AM (#4478324)
I actually started a project with Zurb, and switched to Bootstrap, because it offers a bit more, and looked a bit better out of the box. I think Bootstrap has more momentum, which can be important for these kinds of things.
Re:Neat by kine on Wednesday September 05, 2012 @12:25PM (#4480062)
One of the guys who built Bootstrap actually built Foundation previously when he was at Zurb. Blanking on his name right now.
Re:Neat by kaishin on Wednesday September 05, 2012 @04:57AM (#4478549)
As one of the designers behind Neat, I like what Zurb have been doing with Foundation, but I'm not entirely fond of their semantic grid framework. Many decisions have left me scratching my head and wondering if there wasn't a better way to do things (innerRow() and mobile[...]() mixins are some of these).
Re:Neat by ninjay on Wednesday September 05, 2012 @06:25AM (#4478716)
One of the things I like about Foundation is their nested column syntax. I don't have to worry about how many columns I have to work with.

In Neat I have to write something like: @include span-columns(4 of 8); If I'm in a div with @include span-columns(8);

In Foundation I always just allocate 12 (default) columns no matter where I am. Shown here: https://gist.github.com/3009035

This makes the css much more reusable.

Neat looks like a nice, lighter weight alternative to Foundation, but I can't switch for this reason.

Re:Neat by kaishin on Wednesday September 05, 2012 @07:46AM (#4478906)
Fair enough. Until we come up with a better way to detect nested columns, I don't think explicit nested rows is the route we want to take. Our primary goal is to use as few mixins as possible to achieve proper nesting.
Re:Neat by criswell on Wednesday September 05, 2012 @07:00AM (#4478800)
Foundation does seem really cool but there's a lot of little things that kind of bother me. Take a look at their "tabs" documentation (http://foundation.zurb.com/docs/tabs.php). Is a <dl> really the best element for tabs? The markup also has to link to "#about" to activate the content in <foo id="aboutTab"></foo> which is the opposite of what I've been doing all these years, <foo id="about"></foo> should be what it links to. Maybe I just worry too much.
Re:Neat by mooktakim on Thursday September 06, 2012 @10:52AM (#4484360)
One annoying thing about Zurb, it overrides the default styling of forms!

I find that really annoying because sometimes you want to use something like formtastic, which works by add a class name on the form element, but won't work because zurb has overridden the default style. Twitter bootstrap does not do this.

I love the grid layout on zurb. It stretches to fit the width for tablets and phones. With bootstrap, the stretching happens only on phones.

Good and bad on both frameworks.

Re:Neat by antihero on Wednesday September 05, 2012 @09:28AM (#4479220)
Foundation looks great but it seems I'd need an entire ruby stack to use the SCSS features? Am I misreading something?
Re:Neat by dmix on Wednesday September 05, 2012 @11:25AM (#4479751)
It depends on compass, so yes. I haven't found an isolated SCSS subset.
Re:Neat by antihero on Thursday September 06, 2012 @07:15AM (#4483657)
I still don't quite understand what exactly compass does.
Re:Neat by andr on Wednesday September 05, 2012 @03:11AM (#4478327)
What I do to avoid the class soup Bootstrap expects you to use in your HTML is import bootstrap.css in LESS/SASS and then inherit its classes in my semantic classes. E.g.,

    .userprofile {
        .well;
    }
Re:Neat by pie on Tuesday September 04, 2012 @11:43PM (#4477877)
Susy (http://susy.oddbird.net) is another well-designed option for semantic grids that's been around for awhile.
Re:Neat by bradgessler on Tuesday September 04, 2012 @11:54PM (#4477901)
Also, check out the Vertical Rhythm Compass mix-in (http://compass-style.org/reference/compass/typography/vertic...)

It works great with Susy.

Re:Neat by beernutz on Wednesday September 05, 2012 @05:02AM (#4478565)
If anyone is looking for an AMAZING and well documented theme all ready to go:

http://www.display-inline.fr/demo/developr/template/login.ht...

use any un/pw to log in.

http://themeforest.net/item/developr-fully-responsive-admin-...

This guy kicks ass!

Re:Neat by netghost on Wednesday September 05, 2012 @11:45AM (#4479842)
Wow, that's actually quite well done. A bit over the top with some transitions and such, but looks pretty neat.
Re:Neat by wasd on Tuesday September 04, 2012 @11:42PM (#4477875)
Seems cool but why not just go with the bootstrap or 1140?
Re:Neat by Sharma on Wednesday September 05, 2012 @12:19AM (#4477960)
Short but some details are there for 'why?' "it relies entirely on Sass mixins and does not pollute your HTML with presentation classes and extra wrapping div's"

So they are just promoting an approach which is nonorthodox!

Re:Neat by alexanderh on Wednesday September 05, 2012 @12:36AM (#4478011)
Sell me on how this is better than http://semantic.gs/

Semantic.gs has been absolutely great for me. I can do any kind of responsive design I could imagine.

And it works with Sass, Less, and Stylus.

Looking at Neat's mixin examples, I can already tell you their actual mixin names arent semantic... even if their generated CSS/HTML is.

Semantic GS is 100% semantic, even the mixins.

Re:Neat by kaishin on Wednesday September 05, 2012 @03:38AM (#4478371)
Hi, I'm one of the thoughtbot designers behind Neat. I have been using Semantic.gs for a while and it is one of my favorite grid frameworks out there. My gripe with Semantic.gs is that it is not responsive, i.e. it doesn't come with a straightforward way to change the grid for specific breakpoints.

I also don't see how span-columns() is any less semantic than .column().

Re:Neat by alexanderh on Wednesday September 05, 2012 @04:49PM (#4481400)
I was thinking more of the "alpha" and "omega" mixins which made no immediate sense to me. I'm guess its part of your "golden ratio" code, but it still doesnt seem truly "semantic"

And I really dont see how Semantic.gs isn't responsive? Set its grid representation to percentages, write a few media queries, and its as responsive as any other grid system out there. The inherent behavior of the CSS box model + Percentage based semantic.gs + media queries is as responsive as I think you can get.... its all I've ever needed to do ANY responsive design I can imagine. I've never felt limited by Semantic.gs in terms of responsive design.

I really dont see how you could make that any easier? Are your mixins generating media queries? Is it really that hard to calculate a golden ratio and use it with Semantic.gs?

Edit: http://semantic.gs/examples/responsive/responsive.html they even have a Responsive example on the front page of their website, so I really dont understand why you think Semantic.gs isnt responsive?

> i.e. it doesn't come with a straightforward way to change the grid for specific breakpoints.

isn't that what media queries are for?

Re:Neat by kaishin on Friday September 07, 2012 @04:22AM (#4488109)
Please take some time to read the documentation and see the examples. The omega() (there is no alpha() mixin btw) mixin doesn’t compile to CSS, so debating whether it's semantic or not is beside the point. If, after having a closer look, still think that Neat would not be solving any of your current problems, then you are more than welcome to stick to your guns. No tool is perfect for everyone.
Re:Neat by logical42 on Wednesday September 05, 2012 @12:38AM (#4478021)
not that i'm disagreeing that semantic html is a good thing, but shouldn't one consider the costs of using a system such as this? specifically, doing css modifications in the browser becomes more difficult since we can't just plop in a mixin the same way we could in the sass file. i can't really say how much more difficult it would be to debug css in the browser when using this system either.. though i don't see a reason why it should be easier than a traditional grid system to debug, i could think of some reasons that it might be more difficult.

i'm not trying to knock on this framework. i think thoughtbot is great, i love paperclip. i am a bit hesitant about the practical value of this though..

Re:Neat by logical42 on Wednesday September 05, 2012 @08:49AM (#4479072)
http://nicolasgallagher.com/about-html-semantics-front-end-a...

Sorta interesting argument against this sort of grid system.

Re:Neat by yycom on Wednesday September 05, 2012 @06:49AM (#4478778)
"Neat" is not a headline
Re:Neat by kaishin on Wednesday September 05, 2012 @07:47AM (#4478910)
Re:Neat by sync on Wednesday September 05, 2012 @08:30AM (#4479003)
I never understood why someone would use bourbon over compass (http://compass-style.org/).
Re:Neat by efields on Wednesday September 05, 2012 @09:01AM (#4479121)
Ditto, and this is basically their answer to (Susy)[http://susy.oddbird.net].

Susy's pretty awesome, and Eric Meyer and the Compass community have been working on it for a good year or more. This line sums it up best, "We don't design your site or dictate your markup, we just do the math and get out of your way."

Neat's solution is almost identical in every way, just newer and less tested.

Re:Neat by Shank on Tuesday September 04, 2012 @11:36PM (#4477858)
Definitely nice if all you want is the flexible grid system from something like Bootstrap. Sometimes it can be a pain attempting to only use a certain component, and for something as core as a grid system, this is most certainly the lightest method.
Re:Neat by jameswyse on Wednesday September 05, 2012 @05:45AM (#4478639)
I wish there was something like this for Stylus.. It's by far my favourite CSS Pre-Processor