Responsive page dimensions
Responsive documents should have the page width and height set to 100% in order to fill all available space on the screen.
Existing documents: In the Responsive panel, select the Responsive layout checkbox.
New files: In the new file dialog, select the Responsive layout checkbox when specifying dimensions. (This option isn't available for all file types.)
To make the content on the page responsive, you can use fluid layout and media rules.
Percentage-based sizes and positions
Beyond the page dimensions, you can also specify the size and position of elements using percentages instead of pixels. Percentages preserve an element's size and alignment relative to the parent container, even when the parent container changes.
Override CSS styles for different orientations and sizes
Media rules let your document detect the viewport size and orientation, and apply different styles accordingly. For example, a phone might display content in a single column, while a tablet could show the same content in two columns. These style changes, called overrides, occur for specified sizes or size ranges.
You can switch between different sets of rules in the Responsive panel:
- Default rules: Select Edit default rules when making changes to the default set of styles, or when making changes that apply to all viewport sizes (such as adding or deleting assets, components, or events).
- Media rules: Select a specific size or a size range to override the default styles for that viewport size.
When a media rule is selected, you can set styles that only apply for that size or size range. For example, you can adjust an element's position, size, source, visibility, or animation.
Learn more about media rules and style overrides.