fupio

Fupio is the easiest way to share online Learn more »

Join Fupio
Adam Argyle

Adam Argyle

RSS Feed for Adam Argyle: Web design & development tips & tricks: CSS, JS, HTML, Design, & UX.

Adam Argyle
Adam Argyle
I first noticed web scroll areas had scroll locking behavior when making 2D scroll snap demos; I couldn't scroll diagonally without getting hijacked and locked into an x or y axis.
Even on a touch device, where a diagonal gesture is so easy and natural.
See the Pen by Adam Argyle (@argyleink) on CodePen.
Thanks to

Adam Argyle
Adam Argyle
CSS infinity (and -infinity!) solve some pretty specific problems elegantly, but can also just be plain fun to use.
Showing support for infinity, -infinity, NaN, pi, and e
Lets spur creative CSS juices with infinity and follow a couple use cases.

Basics and gotchas#

infinity and -infinity need to always be wrapped in calc().
If you want it to represent a dimension, it also needs to be

Adam Argyle
Adam Argyle
Announcing Prop For That, a JS library that backfills what CSS doesn't provide us yet (and maybe never will).
I'm done waiting for CSS to catch up to all the valuable information JS knows and done watching folks write the same little JS to just write a custom property to a component.
demo · docs · npm

Adam Argyle
Adam Argyle
🛬 Landed and stoked for CSS Day 2026!
💀 Tattoo scheduled
🤜🤛 Excited to see fellow CSS nerds
🎁 Have a special surprise at the end of my talk that I can't wait to reveal
https://nerdy.dev/CSS-Day-2026