Utility functions for CSS properties, directives and functions.
Utility functions for CSS properties, directives and functions.
(at-font-face & font-properties)
Create a CSS @font-face rule.
Create a CSS @font-face rule.
(at-import url)
(at-import url & media-queries)
Create a CSS @import rule.
Create a CSS @import rule.
(at-keyframes identifier & frames)
Create a CSS @keyframes rule.
Create a CSS @keyframes rule.
(at-media media-queries & rules)
Create a CSS @media rule.
Create a CSS @media rule.
(hsl h s l)
Create a color from HSL values.
Create a color from HSL values.
(rgb r g b)
Create a color from RGB values.
Create a color from RGB values.
(rule selector & more)
Create a rule function for the given selector. The selector
argument must be valid selector (ie. a keyword, string, or symbol).
Additional arguments may consist of extra selectors or
declarations.
The returned function accepts any number of arguments which represent the rule's children.
Ex. (let [text-field (rule "[type="text"])] (text-field {:border ["1px" :solid "black"]})) ;; => ["[type="text"] {:boder ["1px" :solid "black"]}]
Create a rule function for the given selector. The `selector` argument must be valid selector (ie. a keyword, string, or symbol). Additional arguments may consist of extra selectors or declarations. The returned function accepts any number of arguments which represent the rule's children. Ex. (let [text-field (rule "[type="text"])] (text-field {:border ["1px" :solid "black"]})) ;; => ["[type="text"] {:boder ["1px" :solid "black"]}]
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close