Dotted Border in CSS
To set the border line as dots, set the value to dotted:
<div id="elem"></div>
#elem {
border-width: 1px;
border-style: dotted;
border-color: black;
width: 300px;
height: 100px;
}
:
Repeat the example below:
To set the border line as dots, set the value to dotted:
<div id="elem"></div>
#elem {
border-width: 1px;
border-style: dotted;
border-color: black;
width: 300px;
height: 100px;
}
:
Repeat the example below: