rebassjs / grid

This package has moved and renamed
https://rebassjs.org/reflexbox
MIT License
2.04k stars 96 forks source link

how to target landscape mode ? #163

Closed webattitude closed 5 years ago

webattitude commented 5 years ago

how to target landscape mode with array of values notation ? for instance I have width={[1, 1/2, 1/3]} and I'd like to set different widths when landscape mode ...

jxnblk commented 5 years ago

You'd probably want to roll your own style functions that use orientation media queries – styled-system only handles min-width based media queries (i.e. mobile-first, content-based responsive styles)