[web-devel] How to create Cassius Mixin?
Antoni Boucher
bouanto at vivaldi.net
Wed Jan 14 00:14:18 UTC 2015
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/web-devel/attachments/20150113/68c8de8a/attachment.sig>
More information about the web-devel
mailing list