Check out example codes for "css flex content right". It will help you in understanding the concepts better.

Code Example 1

display: flex;
align-items: center;
justify-content: center;

Code Example 2

.parent {
  display: flex;
  justify-content: flex-end;
}

Code Example 3

.primary-nav {
    display:-webkit-flex;
    display:flex;
    list-style-type:none;
    padding:0;
    justify-content:flex-end;
}

.left {
    margin-right:auto;
}

Learn ReactJs, React Native from akashmittal.com