CSS border-right-width property
Description
CSS border-right-width property defines width for the right side border of a block.
Syntax
border-right-width : medium | thin | thick | +ve length
Property values
mediumDefault
-
medium value represents medium sized border for the right side. thin≤medium≤thick
border-right-width: medium;
thin
-
thin value defines thin line border for the right side.
border-right-width: thin;
thick
-
thick value defines a thick line border for the right side.
border-right-width: thick;
+ve length
-
length defines the line width of border for the right side. The used units might be px, in, em, pt.
border-right-width: 10px;
Applicable to
It applies to all elements
From web4college, the free CSS digger
#CSS digger
Was this article helpful?
If the border-right-style is none then the border-right-width is of no use i.e. represents 0px.
▾