Answers for "center image htmls css"

CSS
12

center image css

.centerImg {
  display: block;
  margin: 0 auto;
}
Posted by: Guest on June-01-2020
1

center an image

.someclass {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
Posted by: Guest on July-08-2020

Browse Popular Code Answers by Language