This syntax was chosen so that it would be easy to visually distinguish attribute declarations when glancing at a document. It's conceivable that in a later version, an alternate syntax will be added.
Note that in trunk, there's a css2sass utility that should be able to convert CSS to Sass, as the name suggests. It's nesting-handling is a little buggy at the moment, but it works well for the most part. - Nathan weepy wrote: > Hi > > Just wondering why sass syntax is : > > p > :font-color red > .heading > :background green > > as opposed to the more obvious > > p > font-color: red > .heading > background: green > > would make it alot easier to convert css by hand (which I often find > my self doing) > > cheers > > Jonah > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
