Opens in a new tab

Pick a small set of corner radii

Corner radius is how rounded an element’s corners are. When every component gets its own value, like 5px on buttons, 7px on cards and 10px on inputs, the site can start to look slightly inconsistent. Most visitors couldn’t tell you why, but they will still feel it.

Instead, pick three or four radius values and use only those. You might use a small radius for inputs, a medium one for cards and a fully rounded one for pill buttons and tags. Store each value as a token, a named variable like --radius-md, so you can reuse it everywhere and change it in one place later.

George Wert
Created by George Wertgeorgewert.com

Get Free Design Lessons Every Monday Morning

Get Free Design Lessons Every Monday Morning

Three short lessons each Monday on a single design topic. They're written in plain language and give you ideas to use on your next site.

You're in!

Check your inbox for your first email.
Close