Answers for "how to align div in cneter"

CSS
15

css align items vertical center

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

how to make a division center css

position:absolute;
top:50%;
left:50%;
transform:translate(-50%,-50%);
Posted by: Guest on September-25-2020

Browse Popular Code Answers by Language