Answers for "how to centralize image in css"

CSS
12

center image css

.centerImg {
  display: block;
  margin: 0 auto;
}
Posted by: Guest on June-01-2020
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
0

centralize image css

#center {  
text-align: center;  
} 

or

.center {  
text-align: center;  
}
Posted by: Guest on October-03-2021

Code answers related to "how to centralize image in css"

Browse Popular Code Answers by Language