This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-03-01
Channels
- # announcements (1)
- # babashka (1)
- # beginners (45)
- # business (3)
- # calva (43)
- # clojure (57)
- # clojure-spec (6)
- # clojure-uk (4)
- # clojured (8)
- # clojurescript (14)
- # cryogen (3)
- # datomic (2)
- # emacs (36)
- # fulcro (20)
- # garden (2)
- # jobs (2)
- # lumo (3)
- # meander (9)
- # off-topic (1)
- # other-lisps (1)
- # reagent (13)
- # shadow-cljs (25)
- # spacemacs (20)
- # tools-deps (11)
I'm trying to generate a css selector using garden. the desired output is:
[class*="foo"] {
padding: 1rem;
}
but I can't figure out what I need to put in a .clj file to spit that out in a .css file. closest I've got is: (s/attr-matches :class "foo")
... what's the proper way to generate selectors?n/m, figured it out: [(s/css-selector (s/attr-matches :class "foo")) {:padding "1rem"}]