liveBook · Manning

Border-radius

The CSS border-radius property specifies the radii of an element’s corners, producing rounded corners.

How 3 Manning books explain it

Tiny CSS Projects

The CSS border-radius property controls the curvature of an element's corners.

How it is used
Shapes corners to soften cards and links, make portraits circular, and distinguish custom radio buttons from checkboxes.
How deep it goes
Works through pixel and percentage values, four-corner shorthand, and curved text wrapping; does not examine rendering internals.
Examples
Uses a profile portrait, virtual credit card, radio button, and checkbox to show different amounts of rounding.
What you can do after
Build it from scratch: choose radii for UI elements and combine a circular image with curved text wrapping.

Read how Tiny CSS Projects explains border-radius →

Web Design Playground, Second Edition

The CSS border-radius property rounds the corners of an element's border box.

How it is used
Rounds navigation-link corners as part of styling them into buttons on a portfolio page.
How deep it goes
Defines the property, compares measurement and percentage values, and shows one CSS rule; does not develop more detailed corner settings.
Examples
Shows a `.btn` rule using `border-radius: .75rem` on portfolio navigation links.
What you can do after
Operate/configure it by choosing a measurement or percentage to round an element’s corners.

Read how Web Design Playground, Second Edition explains border-radius →

CSS in Depth, Second Edition

The CSS border-radius property specifies the radii of an element's rounded corners.

How it is used
Scales rounded corners with component typography when padding and other dimensions should resize together.
How deep it goes
Explains computed values and demonstrates em scaling across differently sized boxes and a panel.
Examples
Uses small and large boxes plus a coffee panel with relative padding, borders, headings, and rounded corners.
What you can do after
Apply it via CSS to build rounded components whose corners scale predictably with local typography.

Read how CSS in Depth, Second Edition explains border-radius →

Also covered in

What to know first

Related concepts

Questions about border-radius

What is border-radius?

The CSS border-radius property specifies the radii of an element’s corners, producing rounded corners.

Which Manning books explain border-radius?

Tiny CSS Projects, Web Design Playground, Second Edition and CSS in Depth, Second Edition.

What should I know before learning border-radius?

Manning books that teach border-radius usually introduce padding first.

What is border-radius a kind of?

Border-radius is a kind of style property. A style property is a named setting or interface attribute that specifies or exposes a presentation characteristic of an element or view.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.