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