CSS/Properties/border-right-width
From W3C Wiki
< CSS | Properties
Contents |
border-right-width
The border-right-width property sets the width of the right border of a box.
Description
| Values | [[thin | medium | thick] | <length>] | inherit |
|---|---|
| Initial value | medium |
| Applies to | all elements |
| Inherited | No |
Values
thin
A thin border.
medium
A medium border.
thick
A thick border.
<length>
inherit
Takes the same specified value as the property for the element's parent.
Example
Example A
[style.css]
h1 {
border-top-width: 1px;
border-right-width: 0px;
border-bottom-width: 1px;
border-left-width: 0px;
border-style: solid;
}
[index.html]
<body>
<h1>CSS border property example</h1>
</body>
CSS Reference
The CSS specification defines the border-right-width property in 8.5.1 Border width.

