This is a little bit of a hidden gem (maybe gem is over blown, because
I write the patch (-; ), but Sass in trunk now handles and alternate
syntax, some of you might feel more natural.

Classic Sass puts the colon before the attribute, eg :

a#mylinks
  :font
    :weight bold
    :size 12px
  :color red

I always found this slightly counter intuitive (, since it's different
from normal CSS syntax.

Any hoo, you can now also put the colon *after* the attribute, as in:

a#mylinks
  font:
    weight: bold
    size: 12px
  color: red

I find personally this style much for appealing. Everything should
work the same as expected, in fact you should be able to mix the two
styles in one file (tho I very much doubt that you'd want to do
that !).

Please report any problems to this list : )

Weepy


--~--~---------~--~----~------------~-------~--~----~
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