Everyone knows inner radius = outer − padding.
Pratik
Visit on X@maybepratikk5.4K followers
28,983 views
Everyone knows inner radius = outer − padding.
It breaks in 4 places:
Borders: subtract them too
Pills: the radius is height ÷ 2, not 999px
Focus rings: add instead of subtract
Padding bigger than radius: CSS clamps to 0, so set a floor
Comments
Comments from the original post on X (Twitter)
No comments yet
