Fork me on GitHub
#css
<
2016-02-10
>
josh.freckleton06:02:09

how can I define css like this in clojurescript?:

.row-eq-height {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display:         flex;
}
I've tried creating a style tag, and I get an error because it complains that I've already defined display, which I have... but how else can I do this?

niamu06:02:25

Are you using garden?

niamu06:02:52

garden support vendor prefixes for this use case.

niamu06:02:10

It also supports multiple multiple maps so you can do things like… {:display “-ms-flexbox”} {:display “flex”}

niamu06:02:34

This issue is a decent example of how the automatic vendor prefixing works in Garden I believe. https://github.com/noprompt/garden/issues/64