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