css

For all your CSS related content...
grounded_sage 2016-02-24T01:09:09.000022Z

@niamu: here is the official answer from noprompt.

(require '[garden.selectors :as s])
(require '[garden.core :as css])

(css/css
  [(s/body s/after)
   {:background "blue"}])
;; => "body::after {\n  background: blue;\n}"

niamu 2016-02-24T01:24:43.000023Z

Looking at the documentation, that makes much more sense now.

grounded_sage 2016-02-24T14:11:52.000024Z

Slowly getting the hang of this CSS stuff (css [((s/body (s/attr :data-tooltip)) s/after) {:color 'blue}]) =>"body[data-tooltip]::after {\n color: blue;\n}"