Loading video...
Video Failed to Load
update: now you can use css progress() for adaptive radius, shadow, etc. ↓ same trick, but progress() does the division + clamps for you! 🧑🍳 .card__surface { --r: 42px; --g: 24px; border-radius: calc( progress((100vi - 100cqi) / 2, 0px, var(--g)) * var(--r) ); }
50,096 views • 7 days ago •via X (Twitter)
0 Comments
No comments available
Comments from the original post will appear here

