Fork me on GitHub
#garden
<
2018-10-03
>
noprompt17:10:51

@veddha.riady

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

(css.q/descendant ".container" (css.q/+ (css.q/input ":checked") "label"))

noprompt17:10:16

not pretty, could be nicer.

noprompt17:10:38

whole thing

[".container"
 [(css.q/+ (css.q/input ":checked") "label")
  {:background "#fff"
   :color "#333"
   :position "relative"
   :z-index 6
   :border-top [["2px" "solid" "#ffce29"]]}]]