Skip to content

Stretched Link

A stretched link makes its whole containing block clickable, so a card, list row or tile behaves like one big link. The nearest parent with position: relative (such as a card or position-relative) decides how far the clickable area reaches.

1Card with a stretched button

The button link stretches over the whole card; the dashed outline marks the clickable area.

Takeaway

Every dish is cooked to order, so tell us if you would like anything changed.

Explore

2Card title as the link

Putting stretched-link on the title link makes the heading the accessible name of the whole card.

3Media object

A d-flex row with position-relative so the link covers the image and the text.

The story of our wood-fired oven

Vegan, vegetarian and gluten-free dishes are marked clearly on every menu.

Continue reading

4Column as the containing block

Grid columns are not positioned, so add position-relative to the column you want to be clickable.

Only this column is clickable

Order for pickup or delivery and enjoy the same dishes at home.

Open article

5Product tiles

Shop tiles where the whole card opens the product page.

6Notification rows

List group items are already positioned, so each row is clickable with one stretched link.

7Team member cards

Profile cards that open the member page from anywhere on the card.

Ravi Carter

Operations Manager

Ethan Sato

Operations Manager

Owen Kim

Marketing Lead

8Horizontal blog card

A horizontal card layout with the stretched link in the body.

Planning the perfect birthday dinner

Our menu changes with the seasons and the best produce from nearby farms.

9Pricing card

The plan card selects the plan wherever you click.

Starter

$12.42

per month

Select Starter

10Feature tiles

Bordered feature tiles made clickable with a position-relative wrapper.

Online reservations

We measure success by how many guests come back and tell their friends.

Chef's specials

Start in minutes and get help from a real person whenever you need it.

Local ingredients

Children are always welcome, with a menu made just for them.

11Search results

Each result block is one large target, handy on touch screens.

wrenora.example/plan

Five wines to pair with a summer dinner

Every detail is handled by people who care about getting it right.

wrenora.example/release

How to choose the right dish

Our sommelier has paired each dish with wines from small family vineyards.

wrenora.example/idea

The story of our wood-fired oven

Private dining rooms seat up to forty guests for birthdays and business dinners.

12File tiles

File cards in a drive view open the file from anywhere on the tile.

13Event card with date block

A date badge, title and place in one clickable card.

NOV14

What our guests asked us most

Copenhagen · 10:00

14Inbox rows

Message rows where the sender link stretches across the full row.

15Limiting the clickable area

Only the inner box has position-relative, so the stretched link covers it and not the outer card.

This text is outside the clickable area.

Private events Open

16Category image tiles

Image tiles with an overlay caption; the caption link opens the category.

17Course card with progress

A learning card that resumes the course from anywhere on the card.

Takeaway

61% complete

18Clickable dashboard tiles

Metric tiles that open the matching report.

19Job listings

Job rows with the title as the stretched link and the details as plain text.

Finance LeadFull time
Research · Copenhagen
Engineering · Dublin
Marketing · Cape Town

20Extra link above the stretched link

Give a second link position-relative and z-2 so it sits above the stretched area and stays clickable on its own.

Vegan dishes worth crossing town for

Thousands of guests already trust us, and we work hard to keep it that way.

#update