On Thu, Dec 4, 2008 at 10:26 AM, Blueprint Newbie <[EMAIL PROTECTED]> wrote:
> It would be nice if I could have my layout divs' styles be defined as
> a composition of blueprint classes in my stylesheet. AFAIK this is not
> possible with CSS - it would require OO-style inheritance. For
> example, it would be nice to do this:
>
> #header extends span-24 { }
> #left-sidebar extends span-4 { }
> #main-content extends span-16 {
> background-color: white;
> }
> #right-sidebar extends span-4 last { }
>
> Are there other ways to do this that would allow us to use blueprint's
> grid support, yet keep the "x" in "span-x" out of our HTML?
Chris will tell you about Sass. My way of doing this is to build my
grid with Construct and apply unique ID's to my containers/columns,
then generate the CSS:
http://constructyourcss.com/
--
--
Christian Montoya
christianmontoya.net
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Blueprint CSS" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/blueprintcss?hl=en
-~----------~----~----~----~------~----~------~--~---