Knowledge baseExam Center
ENEnglish
Choose language13

CKTIS / CSS

corner-bottom-right-shape — bottom-right corner shape

The corner-bottom-right-shape property controls the physical bottom-right corner's shape. It works with border-bottom-right-radius: the radius sizes the corner area, while the shape determines its contour.

Version: CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required

Syntax

corner-bottom-right-shape: round | scoop | bevel | notch | square | squircle | superellipse(<number> | infinity | -infinity);

corner-bottom-right-shape targets the physical bottom-right corner, regardless of writing direction. It is not inherited; its initial value is round.

Available shapes are round (a convex quarter-ellipse), scoop (a concave quarter-ellipse), bevel (a diagonal cut), notch (a concave right angle), square (a convex right angle), and squircle (a curve between round and square). The superellipse() function parameterizes the shape.

border-bottom-right-radius, not this property, sets the size. With a radius of 0, changing the shape has no visible effect. The example combines 32px with bevel; without property support, the corner remains rounded.

This feature is described in an evolving specification. The example ran in an isolated Chromium 157 environment, and its console output exactly matched the expected result. This test does not establish Chromium 152 compatibility or verify the rendered appearance of the corner. Check support and appearance in the target browser.

Examples

<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>Bottom-right corner shape</title>
  <style>
    #tile {
      width: 160px;
      height: 100px;
      background: #006699;
      border-bottom-right-radius: 32px;
      corner-bottom-right-shape: bevel;
    }
  </style>
</head>
<body>
  <div id="tile" role="img" aria-label="Blue sample tile" aria-describedby="status"></div>
  <p id="status" role="status"></p>
  <script>
    const property = 'corner-bottom-right-shape';
    const supported = CSS.supports(property, 'bevel');
    const style = getComputedStyle(document.getElementById('tile'));
    const shape = style.getPropertyValue(property);
    const radius = style.borderBottomRightRadius;
    const ok = radius === '32px' && (supported ? (shape === 'bevel' || shape === 'superellipse(0)') : shape === '' || shape === 'round');
    document.getElementById('status').textContent = supported
      ? `Supported. Computed bottom-right shape: ${shape}; radius: ${radius}.`
      : `Unsupported. The ${radius} bottom-right radius provides the rounded fallback.`;
    console.log(`Bottom-right corner check: ${ok ? 'PASS' : 'FAIL'}`);
  </script>
</body>
</html>

Result

Bottom-right corner check: PASS

The example ran in isolated Chromium 157.0.8103.51 with external requests blocked. The console output exactly matched the expected result: `Bottom-right corner check: PASS`.

Sources