One answer is that Cassius is just a thin wrapper on top of Lucius. You can use a Lucius mixin with Cassius just fine. It's essentially an API oversight that there's no equivalent cassiusMixin function. I'll probably add one in the next few days, thanks for pointing it out.
Hello.
How can I create a CSS mixin with Cassius (from Yesod Haskell Web Framework) ?
For instance, this code:
transition val = [cassiusMixin|
-webkit-transition: #{val}
-moz-transition: #{val}
-ms-transition: #{val}
-o-transition: #{val}
transition: #{val}
|]
does not work because cassiusMixin does not exist.
Is there a way to create a mixin with cassius?
If not, is cassius a limited version of lucius?
Thanks.
_______________________________________________
web-devel mailing list
web-devel@haskell.org
http://www.haskell.org/mailman/listinfo/web-devel