Border-radius
The CSS border-radius property specifies the radii of an element’s corners, producing rounded corners.
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.
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
- paddingPadding is the provision of extra values, characters, bytes, or space around or within data or an element to meet length, boundary, block-size, spacing, or alignment requirements.
Related concepts
- style propertykind of · A style property is a named setting or interface attribute that specifies or exposes a presentation characteristic of an element or view.
- cardconfigures · A card is a reusable user-interface component that presents related information and controls in a compact, visually distinct unit.
- circleconfigures · A circle is a plane curve consisting of points at a fixed distance from a common center.
- emconfigured by · The em is a CSS relative length unit whose computed value is based on the applicable font size.
- shorthand propertyuses · A CSS shorthand property sets multiple related longhand properties in a single declaration, resetting omitted properties to their initial values.
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.


