Sub topic 1
Visual hierarchy: deciding what is seen first
Prerequisites
This chapter assumes you know basic layout elements (text, images, shapes) and design vocabulary such as color, value, and typeface. Basic CSS helps with the code example, but you can follow the chapter without it.
What visual hierarchy is
Visual hierarchy is the order in which a viewer notices and reads the parts of a composition. A composition is any arranged layout, such as a poster, a web page, or a slide. Every layout has a hierarchy, whether you plan it or not. If you do not plan it, the viewer's eye lands wherever the strongest accidental signal is.
Two related terms matter for the rest of this tutorial:
- Emphasis is making one element stand out more than the others.
- A focal point is the element that gets the most emphasis. It is the first place the eye goes.
Emphasis is the action, the focal point is the result, and hierarchy is the full ranking from first to last. A good hierarchy usually has three levels: a primary element (seen first), secondary elements (seen next), and tertiary elements (seen last, or only by readers who want detail).
Why it matters
A viewer decides within seconds whether to keep looking. A clear hierarchy answers three questions for them without effort: what is this, what should I read next, and what should I do. When the ranking is unclear, people have to work out the order themselves. Many will skip the page instead.
Hierarchy also communicates importance. Readers assume that the biggest, darkest, or most isolated item matters most. If your design contradicts the real priority, for example by making a legal notice louder than the offer, the layout sends the wrong message.
How hierarchy is built
You rank elements by giving them different amounts of visual weight. Visual weight is how strongly an element pulls the eye. These are the main tools, and later chapters cover each in detail:
| Tool | Raises weight by | Lowers weight by |
|---|---|---|
| Size | Making it larger | Making it smaller |
| Color and value | Higher contrast, saturated hue | Low contrast, muted tone |
| Typography | Bold, large, distinctive style | Light, small, plain style |
| Position | Top, center, or along reading paths | Corners and edges |
| Whitespace | Surrounding it with empty space | Crowding it with neighbors |
All of these work through contrast. An element only stands out relative to what is around it, so ranking elements means deciding where the differences go.
A worked example
The CSS below styles a simple card with a heading, a paragraph, and a button. Each element gets a different weight so the order is clear.
.card { max-width: 24rem; padding: 1.5rem; }
.card h2 { font-size: 2rem; font-weight: 700; color: #111; margin: 0 0 0.5rem; }
.card p { font-size: 1rem; font-weight: 400; color: #555; margin: 0 0 1.5rem; }
.card .cta { font-size: 1.125rem; font-weight: 600; color: #fff; background: #d62828; padding: 0.75rem 1.5rem; border: 0; border-radius: 0.25rem; }The heading leads through size and weight. The body text recedes because it is smaller, lighter in weight, and a softer gray. The button is the only saturated color on the card, so it becomes the focal point by contrast. The result is a clear sequence: heading, then text, then the action.
Notice that the button is not the largest element. Color contrast, not size, gives it priority. A hierarchy can mix tools this way.
Common errors
- Ranking everything high. If every element is bold, large, or colorful, none of them stand out. The hierarchy is flat.
- Ranking by accident. A bright logo or a stock photo can take over the focal point even though it is not the most important item.
- Too many levels. More than three or four distinct levels is hard to read as a ranking. Viewers see noise instead of order.
- Contradicting the content. Styling an unimportant item as primary misleads the viewer.
Exercise
In the card example, the call-to-action button is smaller than the heading but still becomes the focal point. Which tool creates this effect, and why does it work?
Show answer
Color and value contrast. The button is the only saturated red element on a mostly gray and black card, so it differs most from its surroundings. Emphasis comes from difference relative to the surroundings, not from size alone.
Exercise
Look at any web page you use often. Name its primary, secondary, and tertiary elements. Does the ranking match what the page owner most likely wants you to do?
Show answer
Answers vary. A good answer names one clear primary element, such as a headline or main button, and supporting items such as navigation or captions. If you cannot decide which element is primary, the page probably has a flat or competing hierarchy.