--- title: border-end-start-radius slug: Web/CSS/border-end-start-radius translation_of: Web/CSS/border-end-start-radius ---
{{CSSRef}}{{SeeCompatTable}}
La propiedad de CSS border-end-start-radius
define un radio del borde lógico en un elemento, que se asigna a un radio de borde físico que depende de los elementos {{cssxref("writing-mode")}}, {{cssxref("direction")}}, y {{cssxref("text-orientation")}}.
/* <length> values */ /* With one value the corner will be a circle */ border-end-start-radius: 10px; border-end-start-radius: 1em; /* With two values the corner will be an ellipse */ border-end-start-radius: 1em 2em; /* Global values */ border-end-start-radius: inherit; border-end-start-radius: initial; border-end-start-radius: unset;
Por ejemplo, en un modo de escritura horizontal-tb
, esta propiedad corresponde a la propiedad {{CSSxRef("border-top-right-radius")}}.
<length-percentage>
<div> <p class="exampleText">Example</p> </div>
div { background-color: rebeccapurple; width: 120px; height: 120px; border-end-start-radius: 10px; } .exampleText { writing-mode: vertical-rl; padding: 10px; background-color: #fff; border-end-start-radius: 10px; }
{{EmbedLiveSample("Ejemplo", 140, 140)}}
Especificación | Estado | Comentario |
---|---|---|
{{SpecName("CSS Logical Properties", "#propdef-border-end-start-radius", "border-end-start-radius")}} | {{Spec2("CSS Logical Properties")}} | Definición inicial. |
{{CSSInfo}}
{{Compat("css.properties.border-end-start-radius")}}