The border-bottom-width property
The border-bottom-width property specifies
a width of a bottom border. The value of the property
is any
size units,
except percentages, or the keywords thin
(2 pixels border), medium (4 pixels
border) or thick (6 pixels border). Default
value: medium.
Syntax
cssselector {
border-bottom-width: value;
}
Example
Let's set a bottom border to one pixel width:
html<div id="elem"></div>css#elem {
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: black;
background: #f9f9f9;
width: 300px;
height: 100px;
}
Результат:
See also
-
the
border-bottom-styleproperty
that sets a style of a bottom border -
the
border-bottom-colorproperty
that sets a color of a bottom border -
the
border-bottomproperty
that sets a border for a bottom side -
the
border-widthproperty
that sets a width of all sides of a border