Kaveh Kaveh - 2 months ago 9
CSS Question

How to draw a dotted line with css?

How can I draw a dotted line with CSS?

Answer

For example:

hr {
  border:none;
  border-top:1px dotted #f00;
  color:#fff;
  background-color:#fff;
  height:1px;
}

See also Styling <hr> with CSS.

Comments