Ugh, just a case of RTFM. (css) needs a vector of CSS rules, so the
following won't work
(css (scale 2))
>
The correct minimal test is:
(css [:#testdiv {:transform (scale 2)}])
;; "#testdiv {\n transform: scale(2, 2);\n}"
--
You received this message because you are subscribed to the Goog
Ugh, just a case of RTFM. (css) needs a vector of CSS rules, so the
following won't work
(css (scale 2))
>
The correct minimal test is:
(css [:#testdiv {:transform (scale 2)}])
;; "#testdiv {\n transform: scale(2, 2);\n}"
--
You received this message because you are subscribed to the Goog
I'm having an issue generating a CSS function (for the scale() transform
function) using Garden's *defcssfn *macro. The macro appears to generate
the Garden CSSFunction record fine, but the (css) call returns an empty
string.
(defcssfn scale
([a] [a a])
([x y] [x y]))
(scale 2)
;; #garden
+1 for Lighttable
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, s