I'm very reluctant to try to parse the content of attributes, for example to
see if there's a comma. What if someone wants to actually use a comma in a
CSS attribute?

On Tue, Mar 4, 2008 at 11:42 AM, pimpmaster <[EMAIL PROTECTED]> wrote:

>
> In my years of coding CSS, I've developed a strategy that makes my
> stylesheets shorter and more legible, to my eyes anyway
>
> * Font attributes belong together
>  size, color, family, line-height, text-align, text-indent
> * Position attributes belong together
>  position, top, right, bottom, left
> * Display attributes belong together
>  background, display, height, width, padding, margin
>
> etc, etc
>
> I LOVE sass for how it has simplified my inheritance structure, but I
> miss my groups! :(
>
> How difficult would it be to get something like this working?
>
> #contact
>  :display block, :height 12em, :width 30em
>  :color #00f, :font-size 1.1em, :text-align center
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Haml" 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/haml?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to