Ask YC: CSS Frameworks
I'm sure some of you out there are using one of the many CSS frameworks available out there. I'm considering plunging into these but wanted to see if anyone here had anything to say about any of them or could recommend one...strengths, weaknesses, etc.
They seem like a great idea but I'd like to hear the thoughts of some people that have used them.
16 comments
[ 2.9 ms ] story [ 48.8 ms ] threadWe are using this on my startup, so far it has a very good layout system. It is very flexible and configurable for generating unique layouts.
the biggest thing that i've seen with css frameworks is that, while they're good and useful, they don't improve productivity as much as other frameworks. they do, just not as much. imo, at least.
That being said I haven't used Blueprint in a long time and I've used CSS longer than I've used any language besides HTML. I'm probably not so much in the intended audience.
Thanks.
Is there something similar that also works with dynamic screen sizes? For example I want to create a two column based layout and make the first coloumn at least 4 to at most 6 width units large and let the last column takeup the rest, depending on current screen size of the user's browser window.
The grid system reminds me of Ansel Adams' zone system for photography... it's good for teaching students about the elements of visual balance, but ultimately it's a pedagogical scaffold. IMO when the grid system and the zone system become a heavily used crutch for your design and art, that's when what is created tends toward stodgy and boring.
Why re-invent the wheel? The grid concept is universal, and certainly helps during planning for prioritizing real estate and architecting your information properly.
The reason I use YUI is that I suck at CSS, and, rather than spending a disproportionate amount of time figuring out floats and breaks and browser incompatibilities and whatnot, I can get going quickly.
In my current project I actually switched from blueprint to YUI, only because I waned a 100% fluid layout - which isn't available in Blueprint.
I was initially concerned by the claims that YUI litters your code with extraneous div tags; I can now say with confidence that these claims are over exaggerated.
The YUI classes can be applied to any block level element, not just divs.
So, both are good - both are easy, give them a try. My vote would be for YUI, but only just.
Also, 960.gs is the new kid on the block.
Frankly, i am no longer interested in writing my own css for layout when something like YUI grids exists. Unless there's something really special. Cross browser css is a PITA without one of those.
I highly recommend it.