Cool Design Tip – Nested Rounded Corners

Whether you are designing for mobile or the web, it’s always good to pay attention to small details.

Say you want to have two rounded corners running parallel. The outer one should always have a bigger radius than the one on the inside. So the difference in the border radius of the two rounded rectangles, should be equal to the padding between them.

This cool tip was shared by the awesome guys at Engine Digital. Go check them out!

Design Tip: Nested Rounded Corners

Step 1

Create the background shape.

Cool Design Tip - Nested Rounded Corners Step 1: Create the background shape.

Step 2

Create the foreground shape.

Cool Design Tip - Nested Rounded Corners Step 2: Create the foreground shape.

Step 3

Set the background corner radius. In this case is 30px.

Cool Design Tip - Nested Rounded Corners Step 3: Set the background corner radius.

Step 4

Measure the padding. We set it to 20px for each side.

Cool Design Tip - Nested Rounded Corners Step 4: Measure the padding.

Step 5

Subsctract the two numbers, the background corner radius and the padding.

Cool Design Tip - Nested Rounded Corners Step 5: Subsctract the two numbers.

Step 6

Set the foreground corner radius at the number you get after subsctracting. In our case is 10px.

Cool Design Tip - Nested Rounded Corners Step 6: Set the foreground corner radius at the number you get after subsctracting.

Done!

I hope you found this tip useful.

Done!

Check it out
Don’t forget to like Arrow
Don’t forget to like Thumbs Up
If you like this post press the Thumbs Up