Cassius actually supported this in the past. However, there are some technical problems involving the syntax that led me to take it out. However, this *is* a feature that's planned for Lucius, the brace-syntax sibling of Cassius. I'm open to revisiting the issue on Cassius, especially if someone submits a patch. Michael On Sun, Apr 3, 2011 at 1:59 PM, "Timo B. Hübel" <t.h@gmx.info> wrote:
Hi,
one of my most loved features in SASS is automatic scoping/cascading via indenting/significant whitespace.
Consider the following SASS code:
#header p color: red
#content p color: blue
Sass does automatically cascade the two p definitions in the resulting CSS:
#header p { color: red; } #content p { color: blue; }
Is this possible in Cassius? Or considered as feature for the future? IMHO does this feature lead to very concisely scoped CSS while removing the burden of specifying the cascades from the developer.
Cheers, T.
_______________________________________________ web-devel mailing list web-devel@haskell.org http://www.haskell.org/mailman/listinfo/web-devel