Skip to main content

How to apply dimensions relative to the viewport

I
Written by Inbal Shemesh
Updated over 3 months ago

Here's how to apply a width or height value relative to the viewport:

  1. Select the relevant frame or element

  2. Go to the layout section in the design panel on the right

  3. Expand the 'advanced' section

  4. Set a value of your choice (in percentages) in the relevant fields (min/max width/height).

  5. You can either type "vw"/"vh" for viewport width/height, or select these units by clicking on the tag unit in each input field.

Did this answer your question?