garden

karlstefan 2017-09-20T12:37:24.000099Z

I'm having problems with the pseudo-selectors like nth-of-type, anyone have a working syntax to get it do display div:nth-of-type(1)? I only get div nth-of-type(1) (notice the space and lack of colon).

karlstefan 2017-09-20T12:38:40.000122Z

Currently I'm just doing (keyword "div:nth-of-type(1)") to get it to work, but that seems like the wrong approach.

niamu 2017-09-20T15:12:46.000269Z

[(s/div (s/nth-of-type "1"))
 {:background :red}]

niamu 2017-09-20T15:13:01.000666Z

Where s is [garden.selectors :as s]