New CSS progress() trick simplifies adaptive border radius

jh3yy · x · 2026-09-03

An update to a CSS trick for adaptive border radius: the new progress() function handles the division and clamping automatically, letting radius (or shadows) scale smoothly from --r to 0 within a gap --g, with cleaner code.

Original post →

More from coding & agent

coding & agent channel →