Clojurians
#css
<
2016-03-02
>

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

grounded_sage06:03:58

does anyone know the way to use media queries?

grounded_sage06:03:47

@niamu: sorry to ping you. Just wondering regarding question above?

niamu06:03:12

Like in general with CSS or specifically with garden?

niamu06:03:23

I haven’t personally done that yet but give me a couple minutes and I can work it out.

grounded_sage06:03:52

I'm looking at Mesh to see if I can extract it from there. Which may help you help me :stuck_out_tongue: https://github.com/facjure/mesh

niamu06:03:44

I got it.

grounded_sage06:03:19

`(css (at-media {:max-width (px 600)} [:body {:background 'blue}])) "@media (max-width: 600px) {\n\n body {\n background: blue;\n }\n\n}"

niamu06:03:37

yeah, that’s essentially what I was about to type.

grounded_sage06:03:38

woops lol forgot thing on end. Need to pull in from Stylesheet (at-media)

niamu06:03:06

That wasn’t so hard. :stuck_out_tongue:

grounded_sage06:03:08

Figured it out anyways. But thank you for helping!