Answers for "how to align a div on the right side of the page using flex"

8

flex force div right side

.parent {
  display: flex;
}
.child {
  margin-left: auto;
  order: 2;
}
Posted by: Guest on April-16-2020

Code answers related to "how to align a div on the right side of the page using flex"

Browse Popular Code Answers by Language