CSS Portal

CSS border-end-start-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 CSS border-end-start-radius property controls the curvature of the corner that sits at the intersection of the inline end edge and the block start edge of a box - in other words, it is a "logical" corner radius rather than a physical one. Because it is logical, it describes which corner to round in relation to the flow of text and block progression, so the same declaration automatically targets different physical corners depending on writing mode and direction. Visually, this property shapes the outer box edge and influences how backgrounds and borders appear at that corner when the element is rendered.

The concrete physical corner that border-end-start-radius affects is determined by layout axes and can change when the page uses different text flow settings. Those layout behaviors are driven by properties such as writing-mode (which establishes whether content is laid out horizontally or vertically) and direction (which controls inline progression like left-to-right or right-to-left). Because of this, using the logical radius makes components adapt naturally to internationalization: the same style will round the corresponding corner appropriately in LTR, RTL, horizontal, or vertical writing contexts.

When you combine border-end-start-radius with other radius declarations, it participates in the usual cascade and specificity rules. For example, the shorthand border-radius can set multiple corners at once, but a later or more specific logical longhand will override the corner it targets. Likewise, logical counterparts such as border-end-end-radius and border-start-start-radius let you address other logical corners individually, while physical longhands like border-top-right-radius map to a fixed physical corner irrespective of writing-mode. Mixing logical and physical corner properties can be powerful but requires care, since the same physical corner might be targeted by different logical names under different writing modes.

In practical use, border-end-start-radius is especially useful for building adaptable UI components and themes that must behave consistently across languages and layout directions. It reduces the need for conditional styles or separate rulesets for RTL vs LTR or vertical text, simplifying maintenance. A common pitfall is unintentional overrides when physical and logical properties are combined or when authors forget that the mapped corner changes with writing mode; keeping declarations consistent (either sticking mainly to logical properties or to physical ones) avoids that confusion.

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.borderEndStartRadius

Interactive Demo

Example of the Border
End Start Radius Property

Syntax

border-end-start-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='container'>
<h2>Logical corner: border-end-start-radius</h2>
<div class='cards'>
<div class='card ltr' lang='en'>
<div class='label'>LTR (default)</div>
</div>
<div class='card rtl' dir='rtl' lang='ar'>
<div class='label'>RTL (dir='rtl')</div>
</div>
</div>
</div>
*{
  box-sizing: border-box;
}

body{
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: #f7f9fc;
  color: #0f172a;
  padding: 24px;
  margin: 0;
}

.container{
  max-width: 720px;
  margin: 0 auto;
}

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

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

.card{
  width: 180px;
  height: 120px;
  background: linear-gradient(135deg, #ffffff, #eef2ff);
  border: 4px solid #3b82f6;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.card .label{
  font-weight: 700;
  color: #0f172a;
}

.ltr{
  /* In horizontal-tb (default LTR), this rounds the bottom-left corner */
  border-end-start-radius: 24px;
}

.rtl{
  /* When direction is RTL, the same logical corner becomes bottom-right */
  border-end-start-radius: 24px;
}

Browser Support

The following information will show you the current browser support for the CSS border-end-start-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!