Check out example codes for "vertical rule html". It will help you in understanding the concepts better.

Code Example 1

<style>
.vl {
  border-left: 6px solid green;
  height: 
  500px;
}

  </style>

<div class="vl"></div>

Learn ReactJs, React Native from akashmittal.com