Liking cljdoc? Tell your friends :D
Clojure only.

tornado.common

Common CSS functions which do not belong to any of the other namespaces but might be useful in some cases.

Common CSS functions which do not belong to any of the other namespaces
but might be useful in some cases.
raw docstring

grid-areasclj

(grid-areas [first-row & more :as all-rows])

Given a sequence of grid-rows sequences, where each the element is represented by a keyword, a string or a symbol, return a grid-areas string:

(grid-areas [(repeat 3 :header) [:. :content :.] (repeat 3 :footer)]) Output CSS string: "header header header" ". content ." "footer footer footer"

Given a sequence of grid-rows sequences, where each the element is represented by
a keyword, a string or a symbol, return a grid-areas string:

(grid-areas [(repeat 3 :header) [:. :content :.] (repeat 3 :footer)])
Output CSS string: ``"header header header" ". content ." "footer footer footer"``
sourceraw docstring

importantclj

(important expr)

After the expression is compiled, " !important" is appended to it:

(important [(repeat 3 :auto)]) => "auto auto auto !important" (important :none => "none !important" (important "yellow" => "yellow !important"

After the expression is compiled, " !important" is appended to it:

(important [(repeat 3 :auto)]) =>   "auto auto auto !important"
(important :none =>   "none !important"
(important "yellow" =>   "yellow !important"
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close