The best CSS border-right-width property Tutorial In 2024, In this tutorial you can learn Examples,Attribute definitions and instructions,Browser Support,Property Values,related articles,
Setting the right border width:
border-right-width property sets the width of an element's right border.
Note Always declaration border-style property before the border-right-width property.Element only after obtaining the border, in order to change the width of the border.
Defaults: | medium |
---|---|
Inherited: | no |
version: | CSS1 |
JavaScript syntax: | object .style.borderRightWidth = "thick" |
Figures in the table represent the first browser to support the version number of the property.
属性 | |||||
---|---|---|---|---|---|
border-right-width | 1.0 | 4.0 | 1.0 | 1.0 | 3.5 |
value | description |
---|---|
thin | Fine definition of the right of the box. |
medium | Defaults. Defines the medium right border. |
thick | Definition of rough to the right of the box. |
length | It allows you to customize the width of the right border. |
inherit | Provisions should inherit the border width from the parent element. |
CSS tutorial: CSS Border
CSS Reference: border-right property