align content to right in flex code example
Example 1: css flex center
display: flex;
align-items: center;
justify-content: center;
Example 2: flex force div right side
.parent {
display: flex;
}
.child {
margin-left: auto;
order: 2;
}
display: flex;
align-items: center;
justify-content: center;
.parent {
display: flex;
}
.child {
margin-left: auto;
order: 2;
}