Corner Radius of Nested Elements in UI design
Briefly

When nesting elements, using the same corner radius for both parent and child can result in an unpleasing UI, as the gap between elements appears inconsistent.
A practical solution is to apply a smaller corner radius to the child element to create a more visually appealing gap, improving overall design coherence.
The formula for maintaining curvature while ensuring consistent gaps is: Outer radius = Inner radius + Padding; yet, visual assessment is crucial in design.
While mathematical formulas are useful, it is crucial to develop your eye for detail to identify visual imbalances that numbers alone might not reveal.
Read at Medium
[
]
[
|
]