CSS border-block-end Property
Example
.example1 {
border-block-end: 5px solid red;
}
.example2 {
writing-mode: vertical-lr;
border-block-end: 5px solid red;
}
Hello World!
Meaning:
The border-block-end CSS property is a shorthand property for setting the individual logical block-end border property values in a single place in the style sheet.
The following are shorthand properties of border-block-end:
Default value: | medium none currentcolor |
Inherited: | No |
Animatable: | Yes |
Version: | CSS4 |
JavaScript syntax: |
|
Standard Syntax
border-block-end: [border-block-end-width border-block-end-style border-block-end-color]|initial|inherit|revert|revert-layer|unset;
Browser Support
Status
Property Values
The following table describes the values of this property.
Value | Description |
---|---|
border-block-end-width | Specifies the width of the block-end border of an element. |
border-block-end-style | Specifies the style of the block-end border of an element. |
border-block-end-color | Specifies the color of the block-end border of an element. |
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: medium none currentcolor;
}