Answers for "css cetner an image"

CSS
0

how to center an image in css

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}
Posted by: Guest on July-22-2020

Browse Popular Code Answers by Language