CSS Portal

CSS border-start-end-radius Property

If this site has been useful, we’d love your support! Consider buying us a coffee to keep things going strong!

Description

The border-start-end-radius property specifies the rounding of the single corner formed by the intersection of an element’s block-start edge and its inline-end edge. As a logical corner property, it targets that corner in a way that follows the element’s writing mode and direction rather than a fixed physical corner, so it is useful when you want corner rounding to adapt automatically for different text directions or vertical writing modes.

Because it is logical, the actual physical corner it controls changes with writing-mode and direction. In the common horizontal-tb writing mode with left-to-right direction this maps to the top-right corner; in the same writing mode with right-to-left direction it maps to the top-left corner. For vertical writing modes the corner similarly follows the inline/end and block/start axes, so the visual corner will move as the axes change without altering the rule that this property targets the block-start × inline-end intersection.

This property is one member of the logical radius family and is intended to be used in concert with its siblings (for example, border-start-start-radius and border-end-end-radius) to express corner radii in a writing-mode-aware manner. It also interacts with the traditional physical shorthand border-radius: when both logical and physical radii are specified for the same resulting corner, the normal cascade, specificity, and origin rules determine which value applies.

When applied, this radius affects the element’s border box rendering - rounding the corner of the border and influencing background painting, clipping, and hit-testing for that corner. Using logical corner properties generally makes components more robust for internationalized UIs, because you can express corner styles relative to the logical flow instead of having to update multiple physical corners when direction or writing mode changes.

Definition

Initial value
0
Applies to
all elements
Inherited
no
Computed value
two absolute lengths or percentages
Animatable
a length, percentage or calc();
JavaScript syntax
object.style.borderStartEndRadius

Interactive Demo

Example of the Border
Start End Radius Property

Syntax

border-start-end-radius: <length-percentage>

Values

  • <length-percentage>Denotes the size of the circle radius or the semi-major and semi-minor axes of the ellipse. As absolute length it can be expressed in any unit allowed by the CSS <length> data type.

Example

<div class="wrapper">
<h2>border-start-end-radius demo</h2>
<div class="row">
<div class="example ltr">
<div class="label">LTR (dir="ltr")</div>
<div class="box">Start-End</div>
</div>
<div class="example rtl" dir="rtl">
<div class="label">RTL (dir="rtl")</div>
<div class="box">Start-End</div>
</div>
</div>
</div>
:root {
  --bg: #f6f8fa;
  --card: #ffffff;
  --primary: #2b8aef;
  --accent: #ff7a59;
}

body {
  margin: 24px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: var(--bg);
  color: #111;
}

.wrapper {
  max-width: 760px;
  margin: 0 auto;
}

h2 {
  margin: 0 0 16px 0;
  font-weight: 600;
  font-size: 18px;
}

.row {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.example {
  background: var(--card);
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  width: 320px;
}

.label {
  font-size: 13px;
  color: #555;
  margin-bottom: 12px;
}

.box {
  width: 220px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border: 4px solid rgba(0, 0, 0, 0.12);

  /* Logical border radius: start-end corresponds to the corner at block-start + inline-end */
  border-start-end-radius: 32px;
  /* Add a contrasting opposite corner to make the effect obvious */
  border-end-start-radius: 8px;
}

/* Small responsive tweak */
@media (max-width: 680px) {
  .row { flex-direction: column; }
  .example { width: auto; }
}

Browser Support

The following information will show you the current browser support for the CSS border-start-end-radius property. Hover over a browser icon to see the version that first introduced support for this CSS property.

This property is supported by all modern browsers.
Desktop
Chrome
Edge
Firefox
Opera
Safari
Tablets & Mobile
Chrome Android
Firefox Android
Opera Android
Safari iOS
Samsung Internet
Android WebView
-

Last updated by CSSPortal on: 1st January 2026

If this site has been useful, we’d love your support! Consider buying us a coffee to keep things going strong!