Answers for "align divs"

CSS
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
4

div align center

.center {
  text-align: center;
}

// or

<div style="text-align:center">
</div>
Posted by: Guest on February-17-2021

Browse Popular Code Answers by Language