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.
More from coding & agent
- Gemini 3.8 Flash praised for quality but keeps hitting infinite loops in Cursor — brandon_galang · 2026-09-03
- This one-shot AI agent built and deployed a link-in-bio site to Netlify in minutes — thisiskp_ · 2026-09-03
- Using Claude Code as planner with 3 parallel Cursor agents for execution — altryne · 2026-09-03
- Grokbot Builds a Working Mac App in 39 Minutes, No Coding Required — billyjhowell · 2026-09-03
- JamesDSP breaks stereo on T2 MacBook 6-channel speakers — fixed with Copilot CLI's help — DanWahlin · 2026-09-03
- Open-source "Yingzao" skill turns travel photos into magazine-grade cultural posters — 歸藏的AI工具箱 · 2026-09-03