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