css flex content right

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

.left {
    margin-right:auto;
}
Source

Also in CSS: