Check out example codes for "css margin top". It will help you in understanding the concepts better.

Code Example 1

.yourClass {
  margin-top: 25px;

Code Example 2

margin: 25px 50px;

Code Example 3

.yourClass {
  margin-bottom: 25px;

Code Example 4

subject {
  margin-top: /*the size of the margin */ (example: 100px)
  /* or */
  margin-bottom: /*the size of the margin */ (example: 100px)

Learn ReactJs, React Native from