Answers for "css align to right"

10

css center

/* this will center all children within the parent element. */
.parent {
  display: flex;
  justify-content: center; /* horizontal */
  align-items: center; /* vertical */
}
Posted by: Guest on May-17-2020
1

css align to left

body {
  text-align: left;
}
Posted by: Guest on April-09-2020
1

css text align center

body {
  text-align: center;
}
Posted by: Guest on April-09-2020

Browse Popular Code Answers by Language