Answers for "how to align a text at center in a div"

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

Code answers related to "how to align a text at center in a div"

Browse Popular Code Answers by Language