The border-right-style property
The border-right-style property specifies
a style of a right border. Property values such
as in
border-style.
Syntax
selector {
border-right-style: value;
}
Example
Let's set a right border type as dashed:
<div id="elem"></div>
#elem {
border-right-style: dashed;
border-right-width: 1px;
border-right-color: black;
background: #f9f9f9;
width: 300px;
height: 100px;
}
:
See also
-
the
border-right-colorproperty
that sets a color of a right border -
the
border-right-widthproperty
that sets a width of a right border -
the
border-rightproperty
that sets a right border -
the
border-widthproperty
that sets a width of all sides of a border -
the
border-leftproperty
that sets a left border -
the
border-left-colorproperty
that sets a color of a left border -
the
border-left-widthproperty
that sets a width of a left border -
the
border-left-styleproperty
that sets a style of a left border