border-end-end-radius
Quick Summary for border-end-end-radius
The border-end-end-radius CSS property defines a logical border radius on an element, which maps to a physical border radius that depends on the element's writing-mode, direction, and text-orientation. This is useful when building styles to work regardless of the text orientation and writing mode.
Code Usage for border-end-end-radius
/* <length> values */ /* With one value the corner will be a circle */ border-end-end-radius: 10px; border-end-end-radius: 1em;  /* With two values the corner will be an ellipse */ border-end-end-radius: 1em 2em;  /* Global values */ border-end-end-radius: inherit; border-end-end-radius: initial; border-end-end-radius: revert; border-end-end-radius: unset; 
More Details for border-end-end-radius

border-end-end-radius

The border-end-end-radius CSS property defines a logical border radius on an element, which maps to a physical border radius that depends on the element's writing-mode, direction, and text-orientation. This is useful when building styles to work regardless of the text orientation and writing mode.

/* <length> values */ /* With one value the corner will be a circle */ border-end-end-radius: 10px; border-end-end-radius: 1em;  /* With two values the corner will be an ellipse */ border-end-end-radius: 1em 2em;  /* Global values */ border-end-end-radius: inherit; border-end-end-radius: initial; border-end-end-radius: revert; border-end-end-radius: unset; 

This property affects the corner between the block-end and the inline-end sides of the element. For instance, in a horizontal-tb writing mode with ltr direction, it corresponds to the border-bottom-right-radius property.

Syntax

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. Percentages for the horizontal axis refer to the width of the box, percentages for the vertical axis refer to the height of the box. Negative values are invalid.

Formal definition

Initial value0
Applies toall elements; but User Agents are not required to apply to table and inline-table elements when border-collapse is collapse. The behavior on internal table elements is undefined for the moment.. It also applies to ::first-letter.
Inheritedno
Percentagesrefer to the corresponding dimension of the border box
Computed valuetwo absolute <length>s or <percentage>s
Animation typea length, percentage or calc();

Formal syntax

<length-percentage>{1,2}

where <length-percentage> = <length> | <percentage>

Examples

Border radius with vertical text

HTML
<div>   <p class="exampleText">Example</p> </div> 
CSS Content
div {   background-color: rebeccapurple;   width: 120px;   height: 120px;   border-end-end-radius: 10px; }  .exampleText {   writing-mode: vertical-rl;   padding: 10px;   background-color: #fff;   border-end-end-radius: 10px; } 
Results

Specifications

Specification
CSS Logical Properties and Values Level 1 # border-radius-properties

See also

The mapped physical property: border-bottom-right-radius writing-mode, direction, text-orientation Select your preferred language English (US)EspañolFrançais日本語 Change language

No Items Found.

Add Comment
Type in a Nick Name here
 
Other Categories in CSS
css
Search CSS
Search CSS by entering your search text above.
Welcome

This is my test area for webdev. I keep a collection of code here, mostly for my reference. Also if i find a good link, i usually add it here and then forget about it. more...

Subscribe to weekly updates about things i have added to the site or thought interesting during the last week.

You could also follow me on twitter or not... does anyone even use twitter anymore?

If you found something useful or like my work, you can buy me a coffee here. Mmm Coffee. ☕

❤️👩‍💻🎮

🪦 2000 - 16 Oct 2022 - Boots
Random Quote
Even if you fall on your face, you're still moving forward.
Victor Kiam
Random CSS Property

border-inline-start

The border-inline-start CSS property is a shorthand property for setting the individual logical inline-start border property values in a single place in the style sheet.
border-inline-start css reference