Fork me on GitHub
#css
<
2016-02-24
>
grounded_sage01:02:09

@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}"

niamu01:02:43

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

grounded_sage14:02:52

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}"