RoboKozo
robokozo.bsky.social
RoboKozo
@robokozo.bsky.social
Reposted by RoboKozo
Create a larger, invisible hit area around the element, making it easier to click without layout shift!

How? Use a pseudo element with `position: absolute` + `inset: -{value}px`

Demo to play with: codepen.io/una/pen/gbaWdmy

(Tip from dmytro on X, who I can't find on Bsky: x.com/pqoqubbw/sta...)
August 5, 2025 at 2:56 PM
@sarahedo.bsky.social years ago you gave an animation presentation. In one example I believe you showed a map and a menu that appeared when something was clicked. You described users saying the menu "was inside" the point. Any idea what I'm talking about? I'd love to revisit that slide! Thanks!
April 14, 2025 at 6:42 PM
Sometimes I 'encode' non-string values into environment variables. In the past, I've used zod to parse and transform them. Does anyone have suggestions for accomplishing the same with useRuntimeConfig()? @thealexlichter.com @nitro.build @nuxt.com
February 1, 2025 at 3:16 PM