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.

Food relief

Leave a gift in your will and help future generations.

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.

Five things we learned this year

Monthly gifts let us plan ahead and respond quickly when disaster strikes.

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

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

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.

Elena Quinn

Art Director

Chloe Ortega

Art Director

Ravi Carter

HR Partner

8Horizontal blog card

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

Five things we learned this year

Friendly people answer your questions quickly, by phone, chat or email.

9Pricing card

The plan card selects the plan wherever you click.

Starter

$10.98

per month

Select Starter

10Feature tiles

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

Tax receipts

We listen first, then build a plan around what you actually need.

Local partners

Clear prices, honest advice and no surprises along the way.

Tax receipts

Local partners know their communities and make sure help arrives where it matters.

11Search results

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

rallyium.example/goal

Our favourite tips for busy weeks

Ninety cents of every dollar goes directly to the projects you support.

rallyium.example/goal

Ten ways to fundraise with friends

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

rallyium.example/idea

Stories from the families we support

You receive photos and updates showing exactly what your donation achieved.

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.

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.

Food relief 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.

Disaster response

38% 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.

Engineering · Seoul
Operations · Kyoto
Customer Support · Dublin

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.

What happens after a disaster appeal

Our team has done this many times, so you never have to guess.

#update