Open noprompt opened 10 years ago
Does at-font-face
work?
I'm trying to use it like so:
(css [(at-font-face :family "Family"
:weight :normal
:style :normal
:eot "/path/to/eot")])
It yields an empty string though.
Any progress on this? I see that at-font-face
exists in the source, but I also get an empty string when using it. In src/garden/stylesheet.cljc
:
(defn at-font-face
"Create a CSS @font-face rule."
[& font-properties]
["@font-face" font-properties])
This seems not to be implemented usefully (the implementation does not have any of the original definition from the first post)
This seems like a start.
Result
Edit: Add
url
Edit: Add demonstration