Closed ahume closed 12 years ago
I've got the basic one in there, but it'll need some work.
The grid is nice, every time I try switching to a "pure" 960.gs style one I get fed up having to wrap everything in rows.
One recent enhancement we made to the Guardian grid was alternate classnames using the convention "col-6" rather than "six-col", so we can programatically compute these. This should definitely be in the new one.
It is.
Unless we want to revise the grid layout based on new resolution info.
That's a point, I guess it depends what we decide on doing for the "rebuild R2" project. Responsive grids etc
I guess a responsive grid must be coming down the line, but I think for now we're on a 940 grid for the bulk of our stuff, and this one works well. If anyone wants to create responsive-grid.css then that'd be neat.
Incidentally, I think there's a whole topic around decent grid systems for responsive design. IIRC Twitter's is just liquid that moves to a single column once you get to a 'mobile' kind of size which I don't think is good enough.
There's some interesting stuff here http://blog.responsivenews.co.uk/post/12511377569/responsive-css-that-scales
This is interesting. Bootstrap has 4 responsive grid states (with the baseline one being "mobile", eg single column). Skeleton (http://getskeleton.com/#grid) has 3 states, again using a single column "mobile" size. How else would we want this to work? Add more states for mobile-sized viewports so they can still use a rudimentary grid system?
Good roundup of the existing frameworks here too: http://speckyboy.com/2011/11/17/15-responsive-css-frameworks-worth-considering/
This is the first one I've found that scales all the way down: http://www.designinfluences.com/fluid960gs/16/fluid/none/
Closing - we have our 940 grid. Further discussion around responsive grids are ongoing.
I was looking at the grid stuff in R2 yesterday (common/styles/grid-columns.css) and it seems to work pretty nicely for the 940px width main site. It's really simple to learn and use, and my feeling is we should port it into here as our initial fixed-width grid implementation.
Unless anyone thinks it's missing something vital, or isn't that useful?