Check out example codes for "css space between elements". It will help you in understanding the concepts better.

Code Example 1

/* Answer to "css space between elements" */

  There's many ways to add space between elements. However, the
  most common ways are;
  > <br> HTML tag -
  > Padding -
  > Margin -
  > Position -

  The links after explains in detail what the four most common ways
  of spacing out elements are.

  What's my personal opinion? Well, I really.. love.. margin! :D

Learn ReactJs, React Native from