Ido Hershkovits profile picture

Ido Hershkovits

Technical Designer


Feb 17, 2022

Proportionally scaling design.

Follow along with Technical Designer Ido Hershkovits as he explains how to create a design that keeps its relative size and position as the browser size changes.

How to create a proportionally scaling design.

In this example, the design is made up of a section with images and text that keep their relative width and height as the browser width changes. Learn how to set the element properties to make the section perfectly responsive so you can apply these concepts to your designs.

Understanding sizing properties.

Elements can be set to Fixed, Fluid or Scale proportionally from the Inspector panel.

Fixed sizing means an element’s width remains the same, no matter how the browser width changes.

Fluid sizing means an element’s width (and sometimes height) changes depending on the screen size. Elements such as images can be set to Scale proportionally, so they keep their relative width and height.

For your design to scale proportionally, make sure your elements are set to Fluid and Scale proportionally.

Understanding fixed versus fluid units.

The units you use give you control over the way elements resize. You can find these units of measure under Sizing in the Inspector panel.

Pixels (px) are a fixed unit. Elements with a width or height set to pixels keep their size no matter how the viewport changes. If we use a fluid unit like percentage (%), the element’s size changes relative to the width of its parent container.

Other relative units in responsive design include viewport height (vh), viewport width (vw) and fractional units (fr), which you can learn more about here.

For a design to scale proportionally, elements should be in fluid units.

How to position elements.

Under Position in the Inspector panel, we can set docking and margins to control the positioning of elements while they scale up or down.

Docking lets us define how an element is positioned relative to its parent. Elements automatically dock to the nearest edges of their parent container, but you can override this and dock to the top, left, right, bottom, or a combination of each.

Adding margins creates a buffer between an element and what’s around it. After docking an element, use margins to maintain a set distance between it and the edges of the parent container. You can also add margins to the sides of an element that aren’t docked. Margins can be set to a fixed number of pixels, but to scale proportionally, they should be set to a percentage.

How to set your section height to scale proportionally.

Sections automatically fill the browser width, but you can adjust height settings however you need to.

If a section has a minimum height, it will reach that value and no longer become shorter—even if the elements inside continue to scale down. We can remove the minimum height by setting it to None.

When the minimum height is removed and the section height is set to Auto, the section height is determined by the content within the section. Add margins around the section content, so the section grows and shrinks proportionally.

How to add text that scales proportionally.

When adding text, follow the same position rules as above and dock text elements with margins set to %.

You’ll also want to change the text from a fixed font size. Using the text editor, turn on Scale text and set a minimum and maximum font size. It takes some trial and error to determine the best values, but once you find the sizes that work, your text will scale smoothly as you resize the screen.

Result: With these concepts in mind, you can adjust your element properties to create designs that scale beautifully to fit any viewport size. Remember you can also readjust properties such as position, docking and margins, section height and text scale at different breakpoints.

Ido Hershkovits profile picture

Ido Hershkovits

Technical Designer

I’m a web developer and Editor X specialist based in Tel Aviv. I work closely alongside the Editor X marketing team as a coding and responsive design expert. In my spare time, I’m a passionate musician and producer.

Did you find this lesson helpful?

Thank you for your feedback!

Related learning resources.

Blue background with 2 shaded blue containers, one on top of the other with a smaller white logo in the center of the boxes.



Discover the difference between Fixed, Fluid and Scale Proportionally.

Icon for measurements. A small rectangle with a smaller one inside it on the left side.



Learn when to use the right CSS units of measure to control how elements resize.

Blue background with a darker blue box over it, there is an white icon in the middle of the box. This shows docking & margins.


Docking & Margins

Explore Editor X’s smart docking system.

Video about how to edit the style, position and behavior of images on Editor X



Learn how to add, style, replace and position images on every site page.

Ready to start creating?

Search icon
Home icon
Arrow down icon
Editor X Essentials
Arrow down icon
Design & Layouting
Arrow down icon
Interactions & Effects
Arrow down icon
Elements & Components
Arrow down icon
Web Concepts
Arrow down icon
Content Management
Arrow down icon
Code & Dev
Arrow down icon
Arrow down icon
Arrow down icon
External link icon
External link icon
Search icon

Top searches

People are searching for

Video tutorial introducing the Editor X workspace with an overview of the responsive layouting and design tools.


Introducing Editor X

Discover the Editor X workspace. Get an introduction to your advanced layouting tools and an overview of responsive web design features like breakpoints, flexbox and CSS grid.

Video introducing the Editor X workspace with an overview of the responsive layouting tools and design capabilities.


Getting Started

Learn the basics of creating a site on Editor X. Get a step by step walkthrough covering the key features and capabilities.

Thumbnail indicating interactions. Orange background with a shaded orange container over it. In the middle of the container is a white logo.


Hover Interactions

Design dynamic web experiences by adding a variety of interactions to any element on hover. Customize the interaction settings for every breakpoint, from transform adjustment to advanced design capabilities and timing control.