Check out example codes for "how to make a list vertical in css". It will help you in understanding the concepts better.

Code Example 1

li {
   display: inline-block;
}

Code Example 2

.list-item
{
    float: left;
    clear: left;
}

Learn ReactJs, React Native from akashmittal.com