Forget grid.css. Try dynamic CSS grids

3 views
Skip to first unread message

Anthony Short

unread,
Jun 6, 2008, 3:39:17 AM6/6/08
to Blueprint CSS
Shaun Inman released his CSS Cacheer script about a week ago. It
allows for a variety of plugins and comes with compressor, constants
and a few others built right in.

So I've created another plugin for it. A grid plugin. It allows for
simple grids to be created within the CSS.

For example:

@grid {
columncount: 24;
gridwidth: 950;
gutterwidth: 10;
}

div {
columns: 10;
padding: 10px 15px 10px 10px;
border: 1px solid #eee;
}

So what this does is replace 'columns:10;' with the same grid code
from Blueprint, however it dynamically generates the grid. Including
the padding and borders. All of the non-standard code is stripped
before output. It also cache's it. So don't think it will cause any
extra server load.

Consider it in beta for the moment, as it still has some kinks. But
you can check out the full write up here at: <a href="http://
anthonyshort.com.au/blog/comments/grid-plugin-for-css-
cacheer/">anthonyshort.com.au</a>

Anthony Short

unread,
Jun 6, 2008, 3:52:03 AM6/6/08
to Blueprint CSS
Sorry, I thought it would allow anchors. Here's the link.

http://anthonyshort.com.au/blog/comments/grid-plugin-for-css-cacheer/
Reply all
Reply to author
Forward
0 new messages