Style border Right Width Property

Style border Right Width Property


Style border Right width Property
It is a shorthand property that sets all the properties of an element's right border or it sets the line style of an element's right border. 
It is used to set the width of an element's right border.
Browser Support
The numbers in the table specify the first browser version that fully supports the property.
 
Property
 
chrome
 
firefox
 
microsoft edge
 
opera
 
border-right-width
 
1.0
 
1.0
 
4.0
 
3.5
 
Syntax
border-right-width: medium|thin|thick|length|initial|inherit;
Example
Output
 
Property Values
 
Value
Description
 
medium
 
Specifies a medium right border. This is default
 
Thin
 
Specifies a thin right border. 
 
Thick
 
Specifies a thick right border.
 
 
length
 
It defines the thickness of the right border.
 
Initial
 
Sets this property to its default value.
 
Inherit
 
Inherits this property from its parent element.

 
Technical Details
 
Default value:
 
medium
 
Version:
 
CSS1
 
Inherited
 
no
 
Animatable
 
yes
 
JavaScript syntax:
 
object.style.borderRightWidth="10px"