Screen
Show/hide elements according to the viewport width/height
| Attribute | Type | Default | Description |
|---|---|---|---|
| type | STRING | show | Define the action to apply. Either show or hide |
| orientation | STRING | horizontal | Define what viewport size to use. Either horizontal or vertical |
| from | INTEGER | 0 | Minimum viewport size to apply the action |
| to | INTEGER | 0 | Maximum viewport size to apply the action |
Example
<behavior name="fx1" fx="screen" type="hide" orientation="horizontal" to="500" />
Hide the element until the viewport is at least 500 pixels wide.