Check out example codes for "dashed lin in css". It will help you in understanding the concepts better.

Code Example 1

hr {
  border:none;
  border-top:1px dashed #f00;
  color:#fff;
  background-color:#fff;
  height:1px;
  width:50%;
}

Code Example 2

div {
	border-style: dotted;
}

Learn ReactJs, React Native from akashmittal.com