Home›Robin Rendle›Article

pointer-box-offset

Robin Rendle · Feb 21, 2026

It all began with the nav. Notice how in the sidebar of this here blog where you can open and close folders to reveal more entries? Well, the tappable area of the arrow was way too small and I kept miss-clicking and selecting folders instead. So, I tried to fix it and realized the only way to do so was by tweaking the element like this:

Alas! This increased the tappable area of the arrow but broke the surrounding layout, so I was forced to write all sorts of screwy CSS and hacks to account for it.

I think it was Chris Coyier the other day who mentioned that there’s nothing left on his wish list for big CSS features but I realize that this is now at the top of mine: I wish in CSS there was something like an ~interactive-size~ property so instead of having to add padding to small elements to make them clickable we could just tell the browser “trigger events when I tap/hover/whatever 15px around this element”.

Keep reading

Out of respect for the author only the opening is shown here. Read the rest on the original site, or in HorizonReader with highlights, notes and AI help.

More from Robin Rendle

Why You Should Read Children’s Books

Katherine Rundell’s Why You Should Read Children’s Books leapt towards me in the bookstore yesterday—it’s lovely—and in it, she quotes Frances Spufford in his memoir The Child That Books Built: We cannot be told ‘there once was a prince’ wi

The Notebook

A box stacked to the brim with old journals arrived at my door a couple of weeks ago, having made its way across an ocean and dozens of state lines despite its contents being so radioactively embarrassing that it ought to be considered an i

Small things like these

Claire Keegan’s novella Small things like these is very sweet and the ending is so triumphant and satisfying and punk rock that it’s going to stay with me for a very long time. I leave this rare book recommendation without a quote or much o

Cybernetics and Ghosts

In November 1967 Italo Calvino gave a lecture called Cybernetics and Ghosts where he talked about writing machines and the future of literature: ...will we have a machine capable of replacing the poet and the author? Just as we already have

The day of small things

I spotted this quote by Shirley Hibberd on the side of an enormous glass case, just outside the departures gate at SFO: Let us not despise the day of small things. A windowsill garden is better than no garden, and the dark area where cats q