Witch of DesignENDE

Tricks · 07

Is the space right?

A yellow card inside a black frame, both with the same corner radius. Look at the corners: the frame gets thicker there. Change the inner one.

Use the sliders. Then press Measure it.

What she’s measuring

Space looks like nothing, so it’s easy to leave to chance. Three small habits fix most of it.

The first is the corner inside a corner. When a rounded box sits inside another, two curves with the same radius don’t run parallel, and the frame gets thicker at the corners, about 1.4 times the gap. The rule is one subtraction: inner corner equals outer corner minus the gap. An outer radius of 24 with a gap of 8 needs an inner radius of 16. If the gap is bigger than the outer radius, the inner corner is simply square. You’ll see this on phones, buttons, cards and frames.

The second is padding. A box with more room on one side looks as if it got dressed in a hurry. Use the same space on all sides and it looks made on purpose. She checks the left and right against the top and bottom.

The third is the floating heading. A heading halfway between two paragraphs belongs to neither. Things that are close are read as belonging together, so it moves towards the text it introduces. She wants the gap below it to be at most half the gap above.

Corners and padding pass within 3 px.

Next lesson: Does it sit on the grid?