garden

noprompt 2018-10-03T17:38:51.000100Z

@veddha.riady

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

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

noprompt 2018-10-03T17:39:16.000100Z

not pretty, could be nicer.

noprompt 2018-10-03T17:41:38.000100Z

whole thing

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