corner-bottom-right-shape
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The corner-bottom-right-shape CSS property specifies the shape of a box's bottom-right corner, within its border-radius area.
For a full description of corner shape behavior and multiple examples, see the corner-shape shorthand property page.
Syntax
/* Keyword values */
corner-bottom-right-shape: notch;
corner-bottom-right-shape: scoop;
/* superellipse() function values */
corner-bottom-right-shape: superellipse(1.7);
corner-bottom-right-shape: superellipse(-3);
/* Global values */
corner-bottom-right-shape: inherit;
corner-bottom-right-shape: initial;
corner-bottom-right-shape: revert;
corner-bottom-right-shape: revert-layer;
corner-bottom-right-shape: unset;
Values
The corner-bottom-right-shape property is specified using a <corner-shape-value> value.
Formal definition
Value not found in DB!Formal syntax
corner-bottom-right-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-right-shape usage
HTML
The markup for this example contains a single <div> element.
<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 30% / 20%, and a corner-bottom-right-shape of notch.
div {
box-shadow: 1px 1px 3px gray;
border-radius: 30% / 20%;
corner-bottom-right-shape: notch;
}
Result
The rendered result looks like this:
Specifications
| Specification |
|---|
| CSS Borders and Box Decorations Module Level 4> # propdef-corner-bottom-right-shape> |
Browser compatibility
Loading…
See also
corner-shapeshorthand propertycorner-top-left-shape,corner-top-right-shape, andcorner-bottom-left-shapecorner-start-start-shape,corner-start-end-shape,corner-end-start-shape, andcorner-end-end-shapeborder-radiusshorthand propertyborder-bottom-right-radius- CSS borders and box decorations module
- CSS backgrounds and borders module