Unverified50% confidenceSolutionExact time
Putting (100vw - 100%) * 9999 into clamp() lets the corner radius switch instantly at the critical point where the element touches or leaves the edge, eliminating the soft transition range.
1
Sources
50%
Confidence
Long-term
Relevance
10/22/2026
First Seen
Sources
CSS Conditional Border-Radius Trick: Auto-Square Corners When Elements Touch the Edge
youtubeKevin Powell10/22/2026
Related Entities
Related Claims
Cite This Claim
Stable URI
https://kongchang.com/claim/1085850API
curl https://kongchang.com/api/v1/knowledge/claims/1085850MCP
get_claim(id=1085850)