CSS border-block-end-width Property
Example
.example1 {
border: 1px solid blue;
border-block-end-width: 5px;
}
.example2 {
writing-mode: vertical-lr;
border: 1px solid blue;
border-block-end-width: 5px;
}
Hello World!
Meaning:
The border-block-end-width CSS property specifies the width of the logical block end borders of an element, which maps to a physical border style depending on the element's writing mode, directionality, and text orientation.
It corresponds to the border-top-color and border-bottom-color, or border-right-color and border-left-color property depending on the values defined for writing-mode, direction, and text-orientation.
Default value: | medium |
Inherited: | No |
Animatable: | No |
Version: | CSS4 |
JavaScript syntax: |
|
Standard Syntax
border-block-end-width: medium|thin|thick|length|initial|inherit|revert|revert-layer|unset;
Browser Support
Status
Property Values
The following table describes the values of this property.
Value | Description |
---|---|
medium | This is default. Specifies a medium border block end width. |
thin | Specifies a thin border block end width. |
thick | Specifies a thick border block end width. |
length | Specifies a length value in px, pt, cm, em, etc. Negative values are not allowed. |
initial | Sets this property to its default value. |
inherit | If specified, the associated element takes the computed value of its parent element animation-delay property. |
revert | Reverts the cascaded value of the property from its current value to the value the property |
revert-layer | Rollback styles to the ones specified in previous cascade layers. |
unset | Resets a property to its inherited value if the property naturally inherits from its parent, and to its initial value if not. |
Default CSS Property Values
selectors {
border-block-end-width: medium;
}