Check out example codes for "css span to right of div". It will help you in understanding the concepts better.

Code Example 1

<div class="title">
  <span class="name">Cumulative performance</span>
  <span class="date">20/02/2011</span>
</div>

.title .date { float:right }
.title .name { float:left }

Code Example 2

float:right

Learn ReactJs, React Native from akashmittal.com