[
https://issues.apache.org/jira/browse/WEEX-324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16563435#comment-16563435
]
Hanks Zhang commented on WEEX-324:
----------------------------------
Be compatible with pad or tablet is a known feature request of Weex. We are
planning to support media query in the CSS, then you can use this code to
specify styles in different orientations.
```css
{{@media screen and (orientation: landscape) {}}
{{ body { flex-direction: row; }}}
{{}}}
{{@media screen and (orientation: portrait) {}}
{{ body { flex-direction: column; }}}
{{}}}
{{```}}
This feature is not supported yet, but under considering now.
> How to load different CSS for landscape and portrait Screen?
> ------------------------------------------------------------
>
> Key: WEEX-324
> URL: https://issues.apache.org/jira/browse/WEEX-324
> Project: Weex
> Issue Type: Bug
> Reporter: mjsornp
> Assignee: Adam Feng
> Priority: Major
>
> We want run our Application both in phone and pad.
> We can get the orientation of screen,But We don't how to load different CSS
> for landscape and portrait?
> Do you have any suggestion?
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)