CSS · Properties — CSS Backgrounds and Borders

border-shape

The CSS border-shape property. Initial value: none. Not inherited.

Syntax
border-shape: none | [ <basic-shape> <geometry-box>?]{1,2}

Example

Try it

Notes

Media: visual. Applies to: allElements. Computed value: asSpecified.

More in this group

background background-attachment background-origin background-position-x background-position-y border-bottom border-bottom-color border-bottom-left-radius

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course