Tutorial Details
- Topic: Aesthetics
- Difficulty: Beginner
- Additional info: Yes, I'm seeking counseling
This is going to seem like a no-brainer to many of you, but I see it happening so often I figured it was worth bringing up. We’ll call this issue improperly nested corners; a small detail which can ruin an otherwise brilliant design!
Who’s Being Pedantic?
Improperly nested corners can be found in designs of all sorts, but I see them most often in icons and interfaces. If you’ve still no idea what I’m talking about, take a look at these two images of a lightbox mockup – which one has me grinding my teeth?


Yes, it’s the second which I’ll lose sleep over.
Put simply; if you have two rounded corners running parallel, the outer corner should have a larger radius which “flows” round the one on the inside.
Without wanting to go into mathematical formulae (did someone say pie?) try visualizing a central point, the “origin”, around which your first radius curves. Now use that same point to round your outer corner:

Form your curves this way and you’ll find the end result much easier on the eye.
Bending Pipes
Think of the effect you’re creating as like bending a pipe:
You do the Math
Interfaces built in html/css can be just as guilty of improperly nested corners. Think of form elements within a fieldset, or buttons within an alert box.
It’s not difficult to be dead accurate with it though; the difference in the border radius of your two objects should be equal to the gap between them. Simple!

And this can be flexible too, for example:
<div class="outer"> <div class="inner"> </div><!--/ inner--> </div><!--/ outer-->
.inner {
width: 5em;
height: 5em;
background: black;
border-radius: 1em;
}
.outer {
display: inline-block;
background: lightblue;
padding: 3em;
border-radius: 4em; /*offset + radius of .inner*/
}
Perfectly bent pipe (check out the demo).
Exceptions
Like all matters in design, there are no concrete rules – you’ll always find exceptions. It’s a question of instinct.
Take this interface for example; the gap between the contact button and the dropdown doesn’t look anything like a bent pipe. Saying that, all the corners in this interface have uniform radius, so nothing looks out of place:
Folks Who Get it Right
I think you’ve probably had enough of listening to me get wound up about something so trivial. Rather than draw attention to examples where I’ve seen it done awkwardly, let’s now take a look at some inspiring work by Dribbblers who do it right!










Pingback: Quick Tip: Rounded Corners Done Right | Shadowtek Hosting and Design Solutions
Pingback: Rounded Corners: Doing It Wrong? | Stephen Morrell
Pingback: Friday Favorites « lyssbarn
Pingback: Best of Tuts+ in May 2012 - Milk-Break
Pingback: Best of Tuts+ in May 2012 « Webby Treats
Pingback: Best of Tuts+ in May 2012 | Shadowtek Hosting and Design Solutions
Pingback: My Stream | Best of Tuts+ in May 2012 | My Stream
Pingback: Best of Tuts+ in May 2012 | DigitalMofo
Pingback: Best of Tuts+ in May 2012 | Gallery.Clipapic
Pingback: Best of Tuts+ in May 2012 | clickshots
Pingback: Best of Tuts+ in May 2012
Pingback: Best of Tuts+ in May 2012 | My Creative Directory
Pingback: Best of Tuts+ in May 2012 | SearchPsd Blog
Pingback: Best of Tuts+ in May 2012 | Clixto7
Pingback: Best of Tuts+ in May 2012 | http://www.piczap.com
Pingback: Best of Tuts+ in May 2012 | Wptuts+
Pingback: Best of Tuts+ in May 2012 | Wordpress Webdesigner
Pingback: Best of Tuts+ in May 2012 | Omega Pixels
Pingback: Best of Tuts+ in May 2012 | Flash Video Traning Source
Pingback: Quick Tip: Rounded Corners Done Right | Webdesigntuts+ « CupScript
Pingback: Best of Tuts+ in May 2012 | Indoor Digital Billboards
Pingback: Best of Tuts+ in May 2012 | Webdesigntuts+
Pingback: Best of Tuts+ in May 2012 | How to Web
Pingback: Quick Tip: Rounded Corners Done Right | Webdesigntuts+ » Web Design
Pingback: Digest of interesting news and materials from the world of IT in the past week number 8 (May 26 – June 1, 2012)
Pingback: Best of Tuts+ in May 2012 – Creativevia
Pingback: Best of Tuts+ in May 2012 | GMancer
Pingback: Wordpress Leaks » Best of Tuts+ in May 2012
Pingback: Rounded Corners Done Right / Tobias Bjerrome Ahlin
Pingback: » Best of Tuts+ in May 2012 TNR Today
Pingback: Rounded Corners | Head in a Cloud
Pingback: Designing a “Coming Soon” Page in Photoshop | How to Web
Pingback: Building a “Coming Soon” Page With HTML and LESS | Webdesigntuts+
Pingback: My Stream | Building a “Coming Soon” Page With HTML and LESS | My Stream
Pingback: Building a “Coming Soon” Page With HTML and LESS | Shadowtek Hosting and Design Solutions
Pingback: Building a “Coming Soon” Page With HTML and LESS | How to Web
Pingback: Quick Tip: Creating Crisp, Pixel Perfect Circles in Photoshop | Webdesigntuts+
Pingback: Quick Tip: Creating Crisp, Pixel Perfect Circles in Photoshop - Website Design Prices