corner-bottom-shape

The corner-bottom-shape CSS property specifies the shape of both the corners on a box's bottom edge, within their border-radius area.

For a full description of corner shape behavior and multiple examples, see the corner-shape shorthand property page.

Constituent properties

The corner-bottom-shape property is a shorthand for the following physical properties:

Syntax

css
/* Single keyword value set for both corners */
corner-bottom-shape: scoop;
corner-bottom-shape: square;

/* Single superellipse() value set for both corners */
corner-bottom-shape: superellipse(0.7);
corner-bottom-shape: superellipse(-2.8);

/* Left-hand corner, right-hand corner */
corner-bottom-shape: scoop square;
corner-bottom-shape: scoop superellipse(0.7);

/* Global values */
corner-bottom-shape: inherit;
corner-bottom-shape: initial;
corner-bottom-shape: revert;
corner-bottom-shape: revert-layer;
corner-bottom-shape: unset;

Values

The corner-bottom-shape property is specified using one or two <corner-shape-value> values:

  • If one value is used, it specifies the shape of both bottom corners.
  • If two values are used, the first one specifies the shape of the bottom-left corner, and the second one specifies the shape of the bottom-right corner.

Formal definition

Value not found in DB!

Formal syntax

corner-bottom-shape = 
<'corner-top-left-shape'>{1,2}

<corner-top-left-shape> =
<corner-shape-value>

<corner-shape-value> =
round |
scoop |
bevel |
notch |
square |
squircle |
<superellipse()>

<superellipse()> =
superellipse( <number [-∞,∞]> |
infinity |
-infinity )

Examples

You can find other related examples on the corner-shape reference page.

Basic corner-bottom-shape usage

HTML

The markup for this example contains a single <div> element.

html
<div></div>

CSS

We give the box some basic styles, which we've hidden for brevity. We also apply a box-shadow, a border-radius of 60px 30px 20% 40%, and a corner-bottom-shape of square squircle.

css
div {
  box-shadow: 1px 1px 3px gray;
  border-radius: 60px 30px 20% 40%;
  corner-bottom-shape: square squircle;
}

Result

The rendered result looks like this:

Specifications

Specification
CSS Borders and Box Decorations Module Level 4
# propdef-corner-bottom-shape

Browser compatibility

See also