Check out example codes for "ul li seprator". It will help you in understanding the concepts better.

Code Example 1

ul li { list-style: none; display: inline; }
ul li:after { content: " \00b7"; }
ul li:last-child:after { content: none; }

Learn ReactJs, React Native from akashmittal.com