Answers for "align items vertically in center in div"

CSS
15

css align items vertical center

.parent {
  display: flex;
  justify-content: center;
  align-items: center;
}
Posted by: Guest on October-31-2020
1

css vertical align items in div

.flex-center-vertically {
  display: flex;
  justify-content: center;
  flex-direction: column;
  height: 400px;
}
Posted by: Guest on January-27-2021

Code answers related to "align items vertically in center in div"

Browse Popular Code Answers by Language