Answers for "how do I center html element with style tag"

CSS
44

css center image

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
Posted by: Guest on November-28-2019
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