Clojurians
# css

This page is not created by, affiliated with, or supported by Slack Technologies, Inc.

grounded_sage 03:09: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}" ```

niamu 03:24:43

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

grounded_sage 16:11: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}"